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?