[Buildroot] [PATCH 0/3] board: Add support for LePotato
Mylène Josserand
mylene.josserand at collabora.com
Tue Jul 7 07:53:36 UTC 2020
Hello everyone,
Here is my first version of this series that adds the support of the
board LePotato SBC from LibreComputer [1].
This board uses FIP utilities [2][3] from AMLogic to sign u-boot.
The patch 02 is adding these FIP utilities as a host package. It is
available for different boards such as khadas-vim, some odroids, etc.
This package will copy the corresponding utilities, only for LePotato for
the moment, into the HOST_DIR/usr/bin. Currently, LePotato's ones are the
default ones. This should be updating once more boards are added.
The patch 03 is adding the support of this board from LibreComputer:
- one defconfig including a u-boot, kernel and minimal rootfs.
The configuration is also enabling the FIP package for LePotato.
- one post-build script that is using the FIP utilities to sign
u-boot binary.
- one post-image script to generate a sd-card image and flashing the
signed u-boot on it.
- a readme file to explain how to configure, compile and flash image
for this board.
- a boot.scr file including booti commands to run.
Let me know if you have any comments on this series.
Best regards,
Mylène
[1]: https://libre.computer/products/boards/aml-s905x-cc/
[2]: https://github.com/LibreELEC/amlogic-boot-fip
[3]: https://github.com/BayLibre/u-boot
Mylène Josserand (3):
DEVELOPERS: Update Mylene's email
package: Add new fip package
configs/lepotato: Add new defconfig
.gitlab-ci.yml | 1 +
DEVELOPERS | 4 +-
board/librecomputer/lepotato/boot.cmd | 6 +++
board/librecomputer/lepotato/genimage.cfg | 28 ++++++++++
board/librecomputer/lepotato/post-build.sh | 61 ++++++++++++++++++++++
board/librecomputer/lepotato/post-image.sh | 17 ++++++
board/librecomputer/lepotato/readme.txt | 35 +++++++++++++
configs/lepotato_defconfig | 29 ++++++++++
package/Config.in.host | 1 +
package/fip/Config.in.host | 17 ++++++
package/fip/fip.hash | 2 +
package/fip/fip.mk | 30 +++++++++++
12 files changed, 230 insertions(+), 1 deletion(-)
create mode 100644 board/librecomputer/lepotato/boot.cmd
create mode 100644 board/librecomputer/lepotato/genimage.cfg
create mode 100755 board/librecomputer/lepotato/post-build.sh
create mode 100755 board/librecomputer/lepotato/post-image.sh
create mode 100644 board/librecomputer/lepotato/readme.txt
create mode 100644 configs/lepotato_defconfig
create mode 100644 package/fip/Config.in.host
create mode 100644 package/fip/fip.hash
create mode 100644 package/fip/fip.mk
--
2.27.0
More information about the buildroot
mailing list