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

Alexander Khryukin
2014-01-17T16:19:47Z

Might i need a special arguments for mkimage
to set up OS in headers of uImage?

2014/1/17 Alexander Khryukin <alexander@mezon.ru>

> >Can you do an 'mkimage -l <image>
>
>
> [fedya at discordy linux-linaro-tracking]$ mkimage -l arch/arm/boot/uImage
> Image Name: Linux-3.13.0-rc8
> Created: Fri Jan 17 15:47:36 2014
>
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 4737032 Bytes = 4626.01 kB = 4.52 MB
>
> Load Address: 40008000
> Entry Point: 40008000
>
> source code: https://github.com/fedya/u-boot-yse5250
>
>
>
> 2014/1/17 Detlev Zundel <dzu@denx.de>
>
>> Hi Alexander,
>>
>> [...]
>>
>> > *ERROR: booting os 'Unknown OS' (1) is not supported*
>>
>> Hm, very strange. Looking up the code, the '1' is the image type
>> contained in the uImage header. It is defined to be OpenBSD in
>> include/image.h and if your U-Boot doesn't have support for that, you
>> will get that message. This however doesn't make sense to have an
>> uImage with this type.
>>
>> Can you do an 'mkimage -l <image>' on your development host to check the
>> contents of the header? If this looks good, then somehow the image
>> seems to be overwritten before trying to boot, but I don't see where.
>>
>> Cheers
>> Detlev
>>
>> --
>> I object to doing things that computers can do. -- Olin Shivers
>> --
>> 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
>>
>
>