[U-Boot] booting os 'Unknown OS' (1) is not supported

Detlev Zundel
2014-01-20T11:23:54Z

Hi Alexander,

> link to my u-boot https://github.com/fedya/u-boot-yse5250
>
>>Please change the boot command and include the commands
>
> Changed to this
> bootcmd=md 40800000 10;imi 40800000;bootm 40800000
>
> [YSE5250 at omv]# boot
> 40800000: 56190527 ba6b0d61 9850d952 08484800 '..Va.k.R.P..HH.
> 40800010: 00800040 00800040 8a221c4c 00020205 @... at ...L.".....
> 40800020: 756e694c 2e332d78 302e3331 3863722d Linux-3.13.0-rc8
> 40800030: 00000000 00000000 00000000 00000000 ................
>
> ## Checking Image at 40800000 ...
> Legacy image found
> Image Name: Linux-3.13.0-rc8
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 4737032 Bytes = 4626 KiB
> Load Address: 40008000
> Entry Point: 40008000
> Verifying Checksum ... OK
> ## Current stack ends at 0xc3cfbcc8 * kernel: cmdline image address =
> 0x40800000
> ## Booting kernel from Legacy Image at 40800000 ...
> Image Name: Linux-3.13.0-rc8
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 4737032 Bytes = 4626 KiB
> Load Address: 40008000
> Entry Point: 40008000
> Verifying Checksum ... OK
> kernel data at 0x40800040, len = 0x00484808 (4737032)
> ## No init Ramdisk
> ramdisk start = 0x00000000, ramdisk end = 0x00000000
> Loading Kernel Image ... OK
> OK
> kernel loaded at 0x40008000, end = 0x4048c808
> ERROR: booting os 'Unknown OS' (1) is not supported

This is really weird and I am pretty sure that this is not supposed to
happen with the code that we have in mainline. I think you have two
options here:

1. Get mainline U-Boot running on your board that works with the uImage
that os created from mainline Linux

2. Debug your U-Boot version why it does not handle the uImage like it
is supposed to.

Option 1 will be the more rewarding alternative of course.

Best wishes
Detlev

--
insults: If set, sudo will insult users when they enter an incorrect
password. This flag is off by default.
-- man sudoers
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de