[U-Boot] Kernel hang when replace older uboot with uboot master V2

Lukasz Majewski lukma at denx.de
Tue Feb 19 10:49:03 UTC 2019


On Tue, 19 Feb 2019 17:45:12 +0800
"rosysong at rosinson.com" <rosysong at rosinson.com> wrote:

> Thanks for your reply, but this firmware can find the rootfs itself, 
> 
> >[    0.337492] 5 fixed-partitions partitions found on MTD device
> >spi0.0 [    0.344060] Creating 5 MTD partitions on "spi0.0":
> >[    0.349014] 0x000000000000-0x000000040000 : "u-boot"
> >[    0.354834] 0x000000040000-0x000000050000 : "u-boot-env"
> >[    0.360944] 0x000000050000-0x000000060000 : "factory"
> >[    0.366831] 0x000000060000-0x000000fe0000 : "firmware"
> >[    0.374973] 2 uimage-fw partitions found on MTD device firmware
> >[    0.381090] Creating 2 MTD partitions on "firmware":
> >[    0.386258] 0x000000000000-0x000000190000 : "kernel"
> >[    0.392027] 0x000000190000-0x000000f80000 : "rootfs"
> >[    0.397783] mtd: device 5 (rootfs) set to be root filesystem  
> 

This is too late - as this is the MTD partition info provided from
kernel's DTB.

You need the root= information which is probably available on your
environment (not accessible by some reason from new u-boot).

BTW: What is the version of old u-boot ?


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190219/7b8df9ee/attachment.sig>


More information about the U-Boot mailing list