mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: thomas.mayer@telemotive.de
Cc: barebox@lists.infradead.org
Subject: Re: Install barebox to target
Date: Tue, 08 Mar 2011 16:56:18 +0100	[thread overview]
Message-ID: <4D7651A2.90301@eukrea.com> (raw)
In-Reply-To: <AANLkTi=CXxPuac0Jub=uyD-A0qvDMgK2UVYv++JP_X+T@mail.gmail.com>

Hi Thomas,

> 2011/3/8 Thomas Mayer<thomas.mayer@telemotive.de>:
>> according to the cpu datasheet  the bootloader has to store at offset
>> 0x400 (1KByte).
>> I tried to dd barebox that way  but it didn't work (command: "dd
>> if=barebox.bin of=/dev/sdb bs=512 seek=2&&  sync&&  sync").
>> I also tried to use the prebuild freescale redboot binary with mmc
>> support and this works.
>>
>> Have you any idea what I'm doing wrong?
>> Is it possible that a mmc binary need a special flash header to work
>> correctly?
>
check arch/arm/boards/eukrea_cpuimx35/flash_header.c
it works fine on our i.MX35 baord but I had to hack CPUIMX35_FLASH_HEADER_BASE 
to get it working.

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-03-08 15:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4D764613.5020708@telemotive.de>
2011-03-08 15:24 ` Mickael Chazaux
2011-03-08 15:56   ` Eric Bénard [this message]
2011-03-08 21:04     ` Marc Reilly
2011-03-09  8:33       ` Thomas Mayer
2011-03-09  9:00         ` Eric Bénard
2011-02-23 14:16 Thomas Mayer

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=4D7651A2.90301@eukrea.com \
    --to=eric@eukrea.com \
    --cc=barebox@lists.infradead.org \
    --cc=thomas.mayer@telemotive.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox