LS1046A QSPI boot using flex, but directing the root disk to SATA doesn't work

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1046A QSPI boot using flex, but directing the root disk to SATA doesn't work

752 次查看
DB105Z
Contributor I

Hi there

I've used the standard flex-builder workflow to generate a QSPI integrated image. Now in addition, I'm trying to redirect just the root disk to SATA. 

I've tried changing Uboot's defconfig for the bootargs to be the following:

CONFIG_BOOTARGS="console=ttyS2,115200 root=/dev/sda2 rw rootwait"
 
That's all good and indeed those boot args do end up in the Linux kernel visible through /proc/cmdline but observing the 'mount' command, /dev/sda2 isn't being used for '/' - its still using the ram disk.
 
What am I missing?
 
标签 (1)
0 项奖励
回复
1 回复

702 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Under u-boot:

=>setenv bootargs "console=ttyS1,115200 root=/dev/sda2 rw rootwait earlycon=uart8250,mmio,0x21c0500"

=>tftp 0xa0000000 Image

=>tftp 0xb0000000 dtb_file

=>booti 0xa0000000 - 0xb0000000

 

0 项奖励
回复