Hi,
I'm trying to follow the instructions here:
https://github.com/nxp-qoriq/yocto-sdk
to build the OS and SDK images for the LS1028ARDB
It appears that walnascar is the default branch, but the build fails if i use the instructions at the link above.
mkdir yocto-sdk
cd yocto-sdk
repo init -u https://github.com/nxp-qoriq/yocto-sdk -b walnascar
repo sync --force-sync
. ./setup-env -m ls1028ardb
bitbake fsl-image-networking
this fails with 3 errors:
- sysvinit installation errors
- dtc-native compile errors
- util-linux-native compile errors
I've also tried the instructions from this document which fail in a different way even if you work around the incorrect instructions (the specified "ls-image-desktop" does not exist):
https://docs.nxp.com/bundle/UG10081_LLDP_L6.1.55_2.2.0/page/topics/how_to_download_flexbuild.html
I also found the flexbuild option, and followed the instructions here:
https://github.com/nxp/flexbuild
git clone https://github.com/NXP/flexbuild.git
cd flexbuild
make docker
make ls1028ardb_defconfig
make all
this also fails with the error:
W: binfmt_misc not found in /proc/mounts -- not mounted
What are the correct instructions for building the OS image and SDK?
Regards
Matt
Please use the following latest Yocto Linux SDK release.
The release includes both source code and prebuilt images as listed below:
Branch: walnascar-lsdk
|
# |
Name |
Description |
|
1 |
boot_ls1028ardb_lts_6.12.tgz |
Bootpartition image for LS1028ARDB |
|
2 |
boot_ls1043ardb_lts_6.12.tgz |
Bootpartition image for LS1043ARDB |
|
3 |
boot_ls1046ardb_lts_6.12.tgz |
Bootpartition image for LS1046ARDB |
|
4 |
boot_lx2160ardb-rev2_lts_6.12.tgz |
Bootpartition image for LX2160ARDB |
|
5 |
firmware_ls1028ardb_uboot_emmcboot.img |
BSP firmware image for LS1028ARDB eMMC boot |
|
6 |
firmware_ls1028ardb_uboot_sdboot.img |
BSP firmware image for LS1028ARDB SD boot |
|
7 |
firmware_ls1028ardb_uboot_xspiboot.img |
BSP firmware image for LS1028ARDB XSPI boot |
|
8 |
firmware_ls1043ardb_uboot_nandboot.img |
BSP firmware image for LS1043ARDB NAND boot |
|
9 |
firmware_ls1043ardb_uboot_norboot.img |
BSP firmware image for LS1043ARDB NOR boot |
|
10 |
firmware_ls1043ardb_uboot_sdboot.img |
BSP firmware image for LS1043ARDB SD boot |
|
11 |
firmware_ls1046ardb_uboot_emmcboot.img |
BSP firmware image for LS1046ARDB eMMC boot |
|
12 |
firmware_ls1046ardb_uboot_qspiboot.img |
BSP firmware image for LS1046ARDB QSPI boot |
|
13 |
firmware_ls1046ardb_uboot_sdboot.img |
BSP firmware image for LS1046ARDB SD boot |
|
14 |
firmware_lx2160ardb-rev2_uboot_emmcboot.img |
BSP firmware image for LX2160ARDB eMMC boot |
|
15 |
firmware_lx2160ardb-rev2_uboot_sdboot.img |
BSP firmware image for LX2160ARDB SD boot |
|
16 |
firmware_lx2160ardb-rev2_uboot_xspiboot.img |
BSP firmware image for LX2160ARDB xSPI boot |
|
17 |
fsl-image-networking-ls1028ardb.rootfs.tar.gz |
Layerscape rootfs supports basic networking functionality on LS1028ARDB |
|
18 |
fsl-image-networking-full-ls1028ardb.rootfs.tar.gz |
Layerscape rootfs supports full networking functionality on LS1028ARDB |
|
19 |
fsl-image-networking-ls1043ardb.rootfs.tar.gz |
Layerscape rootfs supports basic networking functionality on LS1043ARDB |
|
20 |
fsl-image-networking-full-ls1043ardb.rootfs.tar.gz |
Layerscape rootfs supports full networking functionality on LS1043ARDB |
|
21 |
fsl-image-networking-ls1046ardb.rootfs.tar.gz |
Layerscape rootfs supports basic networking functionality on LS1046ARDB |
|
22 |
fsl-image-networking-full-ls1046ardb.rootfs.tar.gz |
Layerscape rootfs supports full networking functionality on LS1046ARDB |
|
23 |
fsl-image-networking-lx2160ardb-rev2.rootfs.tar.gz |
Layerscape rootfs supports basic networking functionality on LX2160ARDB |
|
24 |
fsl-image-networking-full-lx2160ardbrev2.rootfs.tar.gz |
Layerscape rootfs supports full networking functionality on LX2160ARDB |
|
25 |
flex-installer |
Deploy tools |
Please refer to the User Guide document for the detailed steps of image deployment.
You also could use Debian flexbuilder Linux SDK to use Debian Linux OS.
after posting this, I discovered Debian Linux SDK User Guide which has some pre-requisites not listed in the flexbuild readme.md. This appears to allow me to generate a Debian based image for the LS1028ARDB.
What are the instructions for generating an SDK in a similar way to the Yocto environment? or do you recommend a standard cross-compiler?
Is the Debian solution now the recommended OS for this platform? Yocto feels more appropriate for an embedded system.
Regards
Matt