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

Alexander Khryukin
2014-01-20T09:32:48Z

Good day!
I'm here again with short report.

As you said i changed my bootcmd to
*bootcmd=movi read kernel 0 40800000;bootm 4080000*
with default bootargs options
bootargs=console=ttySAC1,115200n8 vmalloc=512M androidboot.console=ttySAC

And i see same result

[YSE5250 at omv]# boot
reading kernel..device 0 Start 1063, Count 16384
MMC read: dev # 0, block # 1063, count 16384 ... 16384 blocks read: OK
completed
## 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

2014/1/17 Detlev Zundel <dzu@denx.de>

> Hi Alexander,
>
> > You have any suggestion how i can fix or hack it?
> > I really have no clue what's wrong and why it's working with android
> kernel
> > and not with mainline.
>
> Well, potentially, there can be worlds of differences between such
> kernels. I don't know your platform at all, but is it expected to work
> with a mainline kernel?
>
> The only thing that I can think of to get more information is to edit
> your bootcmd to only boot the kernel without any ramdisk and see if the
> loading of the latter is the problem, i.e. something like that:
>
> bootcmd=movi read kernel 0 40800000;bootm 40800000
>
> Even though this cannot fully work, it may give us new input.
>
> Cheers
> Detlev
>
> --
> ;; Self-replicator in ELisp
> ((lambda (l) (prin1-to-string (list l (list (quote quote) l))))
> (quote (lambda (l) (prin1-to-string (list l (list (quote quote) l))))))
> --
> 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
>