All of lore.kernel.org
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] booting os 'Unknown OS' (1) is not supported
Date: Fri, 17 Jan 2014 16:20:58 +0100	[thread overview]
Message-ID: <m28uueeisl.fsf@lamuella.denx.de> (raw)
In-Reply-To: <CABtOAfxOo11KDD9k+GUZg7n13xHqUw15P3PtzWGVFaYaZnF5Mg@mail.gmail.com> (Alexander Khryukin's message of "Fri, 17 Jan 2014 18:36:46 +0400")

Hello Alexander,

> Thanks for your answer!
>
>>So again, try loading the image somewhere else in RAM and let U-Boot do
>>the copying to the correct place.
>
> It's not obvious for me how to do it.
> Might you have any guide or faq?

[...]

>> > ### main_loop: bootcmd="movi read kernel 0 40008000;movi read rootfs 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> > 41000000 100000;bootm 40008000 41000000"
                     ^^^^^^^^^^^^^^

Your bootmcd reads the kernel to 40008000 and then calls bootm to that
address.  Simple change those two places to, say, 40800000 by editing
bootcmd.  (Not knowing your system, I presume RAM starts at 4000,0000
and 4080,0000 then would be 8MiB after the beginning.  U-Boot will copy
the kernel to 4008000 so the kernel should not be bigger than 7.5MiB but
the other snippets from your log say the kernel is ~3.2MiB, so this
should be fine.

Cheers
  Detlev

-- 
The only thing that interferes with my learning is my education.
                              -- Albert Einstein
--
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

  reply	other threads:[~2014-01-17 15:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-17 10:11 [U-Boot] booting os 'Unknown OS' (1) is not supported Alexander Khryukin
2014-01-17 14:11 ` Detlev Zundel
2014-01-17 14:36   ` Alexander Khryukin
2014-01-17 15:20     ` Detlev Zundel [this message]
2014-01-17 15:39       ` Alexander Khryukin
2014-01-17 15:42         ` Alexander Khryukin
2014-01-17 16:17           ` Detlev Zundel
2014-01-17 16:35             ` Alexander Khryukin
2014-01-17 17:35               ` Detlev Zundel
2014-01-17 16:11         ` Detlev Zundel
2014-01-17 16:17           ` Alexander Khryukin
2014-01-17 16:19             ` Alexander Khryukin
2014-01-17 16:42               ` Detlev Zundel
2014-01-17 16:57                 ` Alexander Khryukin
2014-01-17 17:39                   ` Detlev Zundel
2014-01-20  9:32                     ` Alexander Khryukin
2014-01-20 10:06                       ` Wolfgang Denk
2014-01-20 10:33                         ` Alexander Khryukin
2014-01-20 11:23                           ` Detlev Zundel
2014-01-20 12:08                             ` Alexander Khryukin
2014-01-20 12:35                               ` Andreas Bießmann
2014-01-20 19:34                           ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m28uueeisl.fsf@lamuella.denx.de \
    --to=dzu@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.