Closed Spark1114 closed 2 years ago
U-boot 2020.01
is not provided by oe-core
anymore. The current latest version is 2021.10
. Please try to reproduce the issue against the current version but nevertheless I would suggest you follow it up with the u-boot project.
Dear all,
I am trying to understand how to change the default pin of the u-boot (2020.01) console for the Raspberry pi CM3+ board.
I am using yocto with meta-raspberrypi on the dunfell branch and how everything works between the first stage bootloader, u-boot, u-boot internal device tree and the kernel device tree is not really clear to me.
Here is what I would like to achieve:
Get UART0 or UART1 as the standard console for u-boot and the linux kernel on pins 32 and 33
Make u-boot pass my device tree (stored in the boot partition) to the kernel and not the device tree generated by the first stage bootloader
Regarding the first point, I already created a new device tree within u-boot and set it as the default bootloader in my default config (see attached files).
Here is the different things I tried:
In the u-boot device tree:
In the config.txt:
This works but only for the kernel, I don't get any output from u-boot and can't stop the boot process.
I would like to know if there is another file I should modify to get this working. When I use the uart0 or uart1 on pin 14 and 15 everything works properly.
The second point seems pretty clear to me. I will change the bootscript and load the file with the fatload command and pass it to the kernel. However, I wonder if it might create some problems if the first stage bootloader has already reserved the pins.
Finally, when u-boot is starting correctly I have the following warning and I was not able to find any explanation for it:
Should I simply ignore it ?
Thank you in advance for your time.
Best regards Romain
0002-rpi_cm3_digisens_defconfig.txt 0004-digisens-dtb.txt