From: Dalon Westergreen <dwesterg@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/7] arm: socfpga: update cyclone5 socdk default environment
Date: Sat, 21 Jan 2017 09:31:54 -0800 [thread overview]
Message-ID: <1485019919-1926-2-git-send-email-dwesterg@gmail.com> (raw)
In-Reply-To: <1485019919-1926-1-git-send-email-dwesterg@gmail.com>
From: Dalon Westergreen <dalon.westergreen@intel.com>
The default values for CONFIG_SYS_MMCSD_FS_BOOT_PARTITION
and CONFIG_SYS_MMCSD_FS_OS_PARTITION have changed and as
as result the default uboot environment for this board
needs updating. This sets the default envirnment to
use the CONFIG_SYS_MMCSD_FS_BOOT_PARTITION and
CONFIG_SYS_MMCSD_FS_OS_PARTITION configs for the boot
and os partitions.
Also set the default fdtimage value to match the
devicetree name in the linux kernel for this board.
Signed-off-by: Dalon Westergreen <dalon.westergreen@intel.com>
---
include/configs/socfpga_cyclone5_socdk.h | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/configs/socfpga_cyclone5_socdk.h b/include/configs/socfpga_cyclone5_socdk.h
index 7ced6a6..94355ce 100644
--- a/include/configs/socfpga_cyclone5_socdk.h
+++ b/include/configs/socfpga_cyclone5_socdk.h
@@ -44,15 +44,17 @@
"bootm ${loadaddr} - ${fdt_addr}\0" \
"bootimage=zImage\0" \
"fdt_addr=100\0" \
- "fdtimage=socfpga.dtb\0" \
+ "fdtimage=socfpga_cyclone5_socdk.dtb\0" \
"bootm ${loadaddr} - ${fdt_addr}\0" \
- "mmcroot=/dev/mmcblk0p2\0" \
+ "mmc_boot=" __stringify(CONFIG_SYS_MMCSD_FS_BOOT_PARTITION) "\0" \
+ "mmc_os=" __stringify(CONFIG_SYS_MMCSD_FS_OS_PARTITION) "\0" \
+ "mmcroot=/dev/mmcblk0p${mmc_os}\0" \
"mmcboot=setenv bootargs " CONFIG_BOOTARGS \
" root=${mmcroot} rw rootwait;" \
"bootz ${loadaddr} - ${fdt_addr}\0" \
"mmcload=mmc rescan;" \
- "load mmc 0:1 ${loadaddr} ${bootimage};" \
- "load mmc 0:1 ${fdt_addr} ${fdtimage}\0" \
+ "load mmc 0:${mmc_boot} ${loadaddr} ${bootimage};" \
+ "load mmc 0:${mmc_boot} ${fdt_addr} ${fdtimage}\0" \
"qspiload=sf probe && mtdparts default && run ubiload\0" \
"qspiboot=setenv bootargs " CONFIG_BOOTARGS \
" ubi.mtd=1,64 root=ubi0:rootfs rw rootfstype=ubifs;"\
--
2.7.4
next prev parent reply other threads:[~2017-01-21 17:31 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-21 17:31 [U-Boot] [PATCH 1/7] arm: socfpga: update de0 nano default environment Dalon Westergreen
2017-01-21 17:31 ` Dalon Westergreen [this message]
2017-01-21 19:29 ` [U-Boot] [PATCH 2/7] arm: socfpga: update cyclone5 socdk " Marek Vasut
2017-01-21 17:31 ` [U-Boot] [PATCH 3/7] arm: socfpga: update arria5 " Dalon Westergreen
2017-01-21 19:29 ` Marek Vasut
2017-01-21 23:04 ` Westergreen, Dalon
2017-01-22 0:36 ` Marek Vasut
2017-01-22 6:29 ` Westergreen, Dalon
2017-01-22 14:47 ` Marek Vasut
2017-01-21 17:31 ` [U-Boot] [PATCH 4/7] arm: socfpga: Update DE1 environment Dalon Westergreen
2017-01-21 17:31 ` [U-Boot] [PATCH 5/7] arm: socfpga: Update SoCKit environment Dalon Westergreen
2017-01-21 17:31 ` [U-Boot] [PATCH 6/7] arm: socfpga: Update sr1500 environment Dalon Westergreen
2017-01-21 19:30 ` Marek Vasut
2017-01-21 17:31 ` [U-Boot] [PATCH 7/7] arm: socfpga: add support for Terasic DE10-Nano board Dalon Westergreen
2017-01-21 19:33 ` Marek Vasut
2017-01-21 19:28 ` [U-Boot] [PATCH 1/7] arm: socfpga: update de0 nano default environment Marek Vasut
2017-01-21 21:55 ` Westergreen, Dalon
2017-01-21 22:03 ` Marek Vasut
-- strict thread matches above, loose matches on Subject: below --
2017-01-21 17:28 Dalon Westergreen
2017-01-21 17:28 ` [U-Boot] [PATCH 2/7] arm: socfpga: update cyclone5 socdk " Dalon Westergreen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1485019919-1926-2-git-send-email-dwesterg@gmail.com \
--to=dwesterg@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.