From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ee0-f49.google.com ([74.125.83.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Rzubb-00061w-95 for barebox@lists.infradead.org; Tue, 21 Feb 2012 18:38:28 +0000 Received: by eeke50 with SMTP id e50so2809833eek.36 for ; Tue, 21 Feb 2012 10:38:24 -0800 (PST) MIME-Version: 1.0 Date: Tue, 21 Feb 2012 20:38:24 +0200 Message-ID: From: George Stefan List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3932034391952329407==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: mx53 loco boot procedure To: barebox@lists.infradead.org --===============3932034391952329407== Content-Type: multipart/alternative; boundary=90e6ba5bb8954fd8b804b97db7ee --90e6ba5bb8954fd8b804b97db7ee Content-Type: text/plain; charset=ISO-8859-1 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. --90e6ba5bb8954fd8b804b97db7ee Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello guys,
After =A0dd if=3Dbare= box.bin of=3D/dev/sdb bs=3D512 and dd if=3Darch/arm/boot/uImage of=3D/dev/sdb bs=3D512 seek=3D768 i am ge= tting

Board: Fre= escale 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= 9;)

Wasn't the boar= d suppose to boot from sd card by default?

Also, i ha= ve another question. I want to replace

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

&start_barebox with the actual ad= dress 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.
--90e6ba5bb8954fd8b804b97db7ee-- --===============3932034391952329407== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============3932034391952329407==--