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

1,254件の閲覧回数
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 返信

1,204件の閲覧回数
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 件の賞賛
返信