LS1043A 镜像编译 打包 烧录(三)
1 sd atf:
flex-builder -c atf -m ls1043ardb -b sd
2 sd mkfw
flex-builder -i mkfw -m ls1043ardb -b sd
3 sd linux custom
flex-builder -c linux:custom -m ls1043ardb -b sd
4 sd linux compie
flex-builder -c linux -m ls1043ardb -b sd
5 sd linux output
root@vmuer-VirtualBox:/home/vmuer/tmp/flexbuild_lsdk1909_update_221019# find ./ -name snd-soc-rcar.ko
./build/linux/linux/arm64/LS/lib/modules/4.19.68/kernel/sound/soc/sh/rcar/snd-soc-rcar.ko
./build/linux/linux/arm64/LS/output/LSDK-19.09-V4.19/sound/soc/sh/rcar/snd-soc-rcar.ko
6 sd mkbootpartition
flex-builder -i mkbootpartition -m ls1043ardb -b sd
7 sd apps compile
flex-builder -c apps -a arm64 -m ls1043ardb -b sd
8 sd mkrfs compile
flex-builder -i mkrfs -r ubuntu:mate -m ls1043ardb -b sd -a arm64
9 sd merge-component
flex-builder -i merge-component -a arm64 -m ls1043ardb -b sd
10 sd packrfs
flex-builder -i packrfs -a arm64 -m ls1043ardb -b sd
11 sd burn
To partition target disk and install local distro images for single distro on host machine
$ flex-installer -b bootpartition_arm64_lts_4.19.tgz -r rootfs_lsdk1906_LS_arm64_main.tgz -f firmware_ls1046ardb_uboot_sdboot.img -d /dev/sdx
To install dual distros on host machine
$ flex-installer -b bootpartition_arm64_lts_4.19.tgz -r rootfs_lsdk1906_LS_arm64_main.tgz -R rootfs_buildroot_LS_arm64_custom.tgz -f <firmware> -d /dev/sdx
(run 'setenv devpart_root 3;boot' in U-Boot to boot the second distro from partition 3)