Skip to contentSkip to conversation

configs: sama5d2_ptc_ek: add default bootargs for NAND defconfig

PATCH New Eugen Hristev 2 participants 4 messages Oct 8, 2018 – Oct 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 configs: sama5d2_ptc_ek: add default bootargs for NAND defconfig

Add the default kernel bootargs according to our NAND flash demo layout:
http://www.at91.com/linux4sam/bin/view/Linux4SAM/Sama5d2PtcEKMainPage#NAND_Flash_demo_Memory_map

---
 configs/sama5d2_ptc_ek_nandflash_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/sama5d2_ptc_ek_nandflash_defconfig +2 -0
index 5dc2a60..dd6068d 100644
@@ -13,6 +13,8 @@ CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="SAMA5D2"
 CONFIG_NAND_BOOT=y
 CONFIG_BOOTDELAY=3
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256K(env_redundant),256k(env),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=6 root=ubi0:rootfs"
 CONFIG_CONSOLE_MUX=y
 CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_BOARDINFO is not set
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 configs: sama5d2_ptc_ek: add default bootargs for MMC defconfig

Add default bootargs for the MMC defconfig to use SD-Card as rootfs

---
 configs/sama5d2_ptc_ek_mmc_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/sama5d2_ptc_ek_mmc_defconfig +2 -0
index 147f9c9..e40ee00 100644
@@ -13,6 +13,8 @@ CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="SAMA5D2"
 CONFIG_SD_BOOT=y
 CONFIG_BOOTDELAY=3
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait"
 CONFIG_CONSOLE_MUX=y
 CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_BOARDINFO is not set
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 configs: sama5d2_ptc_ek: add default bootargs for MMC defconfig

Quoted 3 lines · Eugen Hristev

Add default bootargs for the MMC defconfig to use SD-Card as rootfs

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181022/fa762e0a/attachment.sig>
#3 lore raw

PATCH 1/2 configs: sama5d2_ptc_ek: add default bootargs for NAND defconfig

In reply to Eugen Hristev
Quoted 4 lines · Eugen Hristev

Add the default kernel bootargs according to our NAND flash demo layout:
http://www.at91.com/linux4sam/bin/view/Linux4SAM/Sama5d2PtcEKMainPage#NAND_Flash_demo_Memory_map

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181022/ae68fbea/attachment.sig>