Based on Luckfox_Lyra_SDK_250429
Image and SDK Download
- Change to the SDK directory
cd $SDK_DIR- Clone
git clone https://github.com/nekocharm/picocalc-luckfox-lyra.gitThe SDK directory structure will be like
├── build.sh -> device/rockchip/common/scripts/build.sh ---- SDK compilation script
├── app ----------------------------- Contains upper-layer applications (mainly demo apps)
├── buildroot ----------------------- Root filesystem developed based on Buildroot (2024)
├── device ----------------- Contains chip board-level configurations and scripts/files for SDK compilation and firmware packaging
├── docs ---------------------------- Contains general development guidance documents, chip platform-related documents, Linux system development-related documents, and other reference materials
├── external --------------------- Contains third-party related repositories, including display, audio and video, cameras,networking, security, etc.
├── kernel -------------------------- Contains code for Kernel development
├── output -------------------------- Stores information on generated firmware, compilation information, XML files, host environment, etc.
├── picocalc-luckfox-lyra------------ This repository
├── prebuilts ----------------------- Contains cross-compilation toolchains
├── rkbin --------------------------- Contains Rockchip-related binaries and tools
├── rockdev ------------------------- Stores compiled output firmware, actually a symlink to output/firmware
├── tools --------------------------- Contains commonly used tools for Linux and Windows operating systems
├── u-boot -------------------------- Contains U-Boot code developed based on version v2017.09
└── yocto --------------------------- Contains root filesystem developed based on Yocto 5.0
- Prepare
cd picocalc-luckfox-lyra
./prepare.sh./build.sh lunch
############### Rockchip Linux SDK ###############
Manifest: luckfox_linux6.1_rk3506_release_v1.2_20250311.xml
Log colors: message notice warning error fatal
Log saved at /home/docker/luckfox/output/sessions/2025-05-15_22-41-24
Pick a defconfig:
1. luckfox_lyra_buildroot_sdmmc_defconfig
2. luckfox_lyra_buildroot_spinand_defconfig
3. luckfox_lyra_plus_buildroot_sdmmc_defconfig
4. luckfox_lyra_plus_buildroot_spinand_defconfig
5. luckfox_lyra_plus_ubuntu_sdmmc_defconfig
6. luckfox_lyra_ubuntu_sdmmc_defconfig
7. luckfox_lyra_ultra-w_buildroot_emmc_defconfig
8. luckfox_lyra_ultra-w_ubuntu_emmc_defconfig
9. luckfox_lyra_ultra_buildroot_emmc_defconfig
10. luckfox_lyra_ultra_ubuntu_emmc_defconfig
11. picocalc_luckfox_lyra_buildroot_sdmmc_defconfig
Which would you like? [1]:11
./build.sh