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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

274 Views
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?
 
Labels (1)
0 Kudos
1 Reply

224 Views
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 Kudos