Hello,
I am working with some imx6ul board from Phytec. Phytec uses barebox bootloader for their boards but we would like to change to u-boot now.
Is there anything(fuses, bootstrap, etc) that I should think about it before flashing a new type of bootloader on the board?
Thanks,
Mihaita
Hello Mihaita,
There is a very good presentation on this from Free Electrons that may serve as a starting point:
https://elinux.org/images/2/2a/Schulz-how-to-support-new-board-u-boot-linux.pdf
There are also a couple of Community Documents like the following:
https://community.nxp.com/docs/DOC-328200
There is also an i.MX BSP Porting Guide which covers the bootloader as part of the Linux BSP documentation, so I would recommend downloading the Linux BSP for the kernel you are interested in.
I’m not familiar with the Pytech boards in detail but you should be able to look for the closest board supported on the NXP BSP (most likely the i.MX6UL EVK) and use it as a starting point as some settings will be very similar.
You should be able to port to U-boot regardless of the boot mode or fuses, but you would need to describe the hardware of your board to U-boot.
I hope this information helps!
Regards,
Hi,
Thanks a lot for the detailed answer!
i will check it and get working on it.
Thanks,
Mihaita