mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: George Stefan <stefan.george87@gmail.com>
To: barebox@lists.infradead.org
Subject: mx53 loco boot procedure
Date: Tue, 21 Feb 2012 20:38:24 +0200	[thread overview]
Message-ID: <CAACwSTKshGv05PfJWJkFTKzhof2q+hjupdh=U3VH2Fbdc-6VBQ@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1150 bytes --]

Hello guys,
After  dd if=barebox.bin of=/dev/sdb bs=512 and dd if=arch/arm/boot/uImage
of=/dev/sdb bs=512 seek=768 i am getting

Board: Freescale i.MX53 LOCO registered netconsole as cs1 eth@eth0: got MAC
address from EEPROM: 00:04:9F:01:B4:5B mci@mci0: No partition table found
Cannot reset the SD/MMC interface Malloc space: 0x7df00000 -> 0x7fefffff
(size 32 MB) Stack space : 0x7def8000 -> 0x7df00000 (size 32 kB) envfs:
wrong magic on /dev/env0 no valid environment found on /dev/env0. Using
default environment running /env/bin/init... Hit any key to stop autoboot:
1 phy0: Link is up - 100/Full T DHCP client bound to address
128.224.168.167 TFTP from server 128.224.168.11 ('zImage-loco' -> '/image')

Wasn't the board suppose to boot from sd card by default?

Also, i have another question. I want to replace

/* call start_barebox with its absolute address */
        r = (unsigned int)&start_barebox;
        __asm__ __volatile__("mov pc, %0" : : "r"(r));

&start_barebox with the actual address of the uImage practically to skip
all the barebox part and
boot only with the minimal CPU and memory setup. What do you think?
Regards,
George.

[-- Attachment #1.2: Type: text/html, Size: 2698 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

             reply	other threads:[~2012-02-21 18:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-21 18:38 George Stefan [this message]
2012-02-21 20:02 ` Eric Bénard
2012-02-21 21:01 ` Sascha Hauer
2012-02-22  9:22   ` George Stefan
2012-02-23 20:13     ` Sascha Hauer
2012-02-23 20:40       ` George Stefan
2012-02-23 20:59         ` Eric Bénard

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='CAACwSTKshGv05PfJWJkFTKzhof2q+hjupdh=U3VH2Fbdc-6VBQ@mail.gmail.com' \
    --to=stefan.george87@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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