On 2021/05/20 20:33, Peter Korsgaard wrote:
"Damien" == Damien Le Moal Damien.LeMoal@wdc.com writes:
Hi,
The upstream Buildroot project only support RISC-V with MMU (BR2_ARCH_HAS_MMU_MANDATORY).
I have a series of patches for building bootable images for boards based on the Canaan Kendryte K210 SoC. These boards use NOMMU builds that the patch series enables. I also have elf2flt fixed and the kernel flatbin loader is already fixed in 5.13-rc. The crash on startup I am seeing with the latest buildroot/busybox is blocking me from posting the patch series though.
Yes, I remember. What is the status of the elf2flt patch? It would be good if you could send an updated patch series to the Buildroot list.
The elf2flt patch is ready. All seems good on this front now that the kernel flatbin loader is fixed to not break riscv global pointer.
Also, with all the K210 improvments that went into kernel 5.12, the buildroot patch series was expanded to add SD card image build and 4 different K210 boards.
However, when I rebased my series on the latest upstream tree, I ran into this crash on startup and have not had time to debug yet. So I have not sent anything yet, nor did I send the elf2flt patch as I want to check that the problem cause is not that one. Really not sure what is going on. I only had a quick look after my last rebase and added "need debug" to my to-do list.
Will try to get to it next week. I may just wait for 5.13 to come out though as the needed flatbin loader patch will be included. Since we are at rc2, still have some time :)
Cheers.