MMC prepare for zynq

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Jul 4 07:56:01 PDT 2025


Hi Gwenhael,

On 7/3/25 09:18, Gwenhael Goavec-Merou wrote:
> Dear all,
> 
> I'm trying to uses my zedboard with barebox but can't be able to boot this.
> 
> According to mails found in this mailing list I have done this sequence:
> 
> export ARCH=arm
> export CROSS_COMPILE=$SOMEWHERE/arm-buildroot-linux-gnueabihf-
> 
> make zynq_defconfig
> make -j$(nproc)

That looks correct IMO.

> And copied in the first SDCard FAT partition:
> - images/barebox-avnet-zedboard.img as BOOT.bin
> - barebox.bin

Which binary is barebox.bin?

> But I have nothing displayed through serial port.

Two things come to mind:

- The Image is 184K. Does the Zynq enforce a maximum limit on the BOOT.BIN?

- Does DEBUG_LL produce any output? For details on how to configure
DEBUG_LL, see the troubleshooting guide I just Cc'd you on.

> Are there somewhere details on how to prepare SD Card for a zynq board?

I haven't done work with the Zynq 7000 so far, but Lucas and Johannes
did. I Cc'd them as they may be able to give some tips for troubleshooting.

Cheers,
Ahmad

> 
> Thanks
> 
> Gwenhael
> 
> 

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list