[Buildroot] Updates for nezha and lichee_rv*

Indrek Kruusa indrek.kruusa at gmail.com
Sat Nov 26 17:15:52 UTC 2022


Kontakt Indrek Kruusa (<indrek.kruusa at gmail.com>) kirjutas kuupäeval L, 26.
november 2022 kell 17:29:

>
> Kontakt Angelo Compagnucci (<angelo at amarulasolutions.com>) kirjutas
> kuupäeval L, 26. november 2022 kell 10:27:
>
>>
>>
>> Il sab 26 nov 2022, 09:15 Indrek Kruusa <indrek.kruusa at gmail.com> ha
>> scritto:
>>
>>> Hi!
>>>
>>> As Samuel Holland mentioned the boot0/TOC1 is not needed anymore for
>>> Allwinner D1 soc.
>>> The latest updates, including proper board files, are included in d1-wip
>>> branch in uboot repo.
>>> So, when using this branch, like
>>>
>>> BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call
>>> github,smaeul,u-boot,d1-wip)/uboot-d1-wip.tar.gz"
>>>
>>> , the genimage.cfg can be as simple as :
>>>
>>> image sdcard.img {
>>>         hdimage {
>>>         }
>>>
>>>         partition u-boot-0 {
>>>                 in-partition-table = "no"
>>>                 image = "u-boot-sunxi-with-spl.bin"
>>>                 offset = 128K
>>>         }
>>>         partition rootfs {
>>>                 partition-type = 0x83
>>>                 image = "rootfs.ext4"
>>>                 bootable = "true"
>>>                 offset = 2M
>>>         }
>>> }
>>>
>>> Also, newer linux kernel (v6.1.0-rc3) can be grabbed from Samuel's repo.
>>> For testing I was using:
>>>
>>> BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call
>>> github,smaeul,linux,ca67838d84af4c9f85d06311c9e98e1adf46308f)/linux-ca67838d84af4c9f85d06311c9e98e1adf46308f.tar.gz"
>>> You have to update headers:
>>> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0=y
>>>
>>> Latest buildroot 2022.11-rc3 includes updated rtl8723ds tree so building
>>> this module works also with newer kernel now.
>>>
>>> I verified this on Sipeed's Lichee RV dock, serial console output is
>>> attached.
>>>
>>
>> Thanks for the update. I'm more than welcome to bump my patches and
>> retest everything as soon as the patchset is included and validated by the
>> buildroot developers.
>>
>> It would be nice if you can provide your feedback for the current patchset
>>
>> http://patchwork.ozlabs.org/project/buildroot/list/?series=326415
>>
>> To speedup the revision process.
>>
>
>
> Why not. I just have to figure out how to reply to those messages while
> not having them in my mailbox.Gmail and mbox and stuff.
>

Altough, I would say you should update to newer uboot anyway. After that
you can completely drop p
0001-Makefile-HACK-Support-building-u-boot.toc1-for-lichee-rv.patch (as
uboot gained SPL support). Then you can simplify genimage.cfg. Also you
have to fix board/sipeed/lichee_rv/readme.txt to reflect path change
(currently there is $ make lichee_rv_defconfig). I hope this helps.


>
>>
>>
>>> Also, for getting working HDMI console you have to append this to the
>>> kernel command line:
>>> console=tty0 cma=96M video=HDMI-A-1:D fbcon=map:0
>>>
>>
>> Nice!
>>
>>
>>> Best regards,
>>> Indrek
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20221126/4d316c19/attachment-0001.html>


More information about the buildroot mailing list