AnsweredAssumed Answered

Trying to create a bootable sdcard running the fsl-image-minimal for a ls1021a-iot board.

Question asked by Gary Leshner on Jan 21, 2016
Latest reply on Feb 17, 2016 by Yiping Wang

We are trying to create a bootable sdcard running the fsl-image-minimal for a ls1021a-iot board.
The SDK we are using is "LS1021A-IOT Rev B SDK 0.4" dated 11/06/2015.
The archive contained 2 iso files. Freescale-Linux-SDK-for-LS1021A-IOT-Rev2-v0.4-SOURCE-20150907-yocto.iso and Freescale-Linux-SDK-for-LS1021A-IOT-Rev2-v0.4-CORTEXA7-CACHE-20150907-yocto.iso.
The first installs into the directory Freescale-Linux-SDK-for-LS1021A-IOT-Rev2-v0.4-20150907-yocto.iso.
The second was installed into the sstate-cache directory under Freescale-Linux-SDK-for-LS1021A-IOT-Rev2-v0.4-20150907-yocto.iso.
We ran ". ./poky/fsl-setup-poky -m ls1021aiot" which created build_ls1021aiot_release.
From that directory was run "bitbake fsl-image-minimal".

These files were generated in the build_ls1021aiot_release/tmp/deploy/images/ls1021aiot directory:

fsl-image-minimal-ls1021aiot-20160120083119.rootfs.ext2.gz
fsl-image-minimal-ls1021aiot-20160120083119.rootfs.ext2.gz.u-boot
fsl-image-minimal-ls1021aiot-20160120083119.rootfs.jffs2
fsl-image-minimal-ls1021aiot-20160120083119.rootfs.manifest
fsl-image-minimal-ls1021aiot-20160120083119.rootfs.tar.gz
fsl-image-minimal-ls1021aiot-20160120083119.rootfs.ubi
fsl-image-minimal-ls1021aiot-20160120083119.rootfs.ubifs
fsl-image-minimal-ls1021aiot.ext2.gz -> fsl-image-minimal-ls1021aiot-20160120083119.rootfs.ext2.gz
fsl-image-minimal-ls1021aiot.ext2.gz.u-boot -> fsl-image-minimal-ls1021aiot-20160120083119.rootfs.ext2.gz.u-boot
fsl-image-minimal-ls1021aiot.jffs2 -> fsl-image-minimal-ls1021aiot-20160120083119.rootfs.jffs2
fsl-image-minimal-ls1021aiot.manifest -> fsl-image-minimal-ls1021aiot-20160120083119.rootfs.manifest
fsl-image-minimal-ls1021aiot.tar.gz -> fsl-image-minimal-ls1021aiot-20160120083119.rootfs.tar.gz
fsl-image-minimal-ls1021aiot.ubi -> fsl-image-minimal-ls1021aiot-20160120083119.rootfs.ubi
iram_Type_A_LS1021a_r1.0.bin
modules--3.12-r0-ls1021aiot-20150907014533.tgz
modules-ls1021aiot.tgz -> modules--3.12-r0-ls1021aiot-20150907014533.tgz
README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
u-boot.bin -> u-boot-ls1021aiot-2014.07-r0.bin
u-boot-ls1021aiot-2014.07-r0.bin
u-boot-ls1021aiot.bin -> u-boot-ls1021aiot-2014.07-r0.bin
uImage -> uImage--3.12-r0-ls1021aiot-20150907014533.bin
uImage--3.12-r0-ls1021aiot-20150907014533.bin
uImage--3.12-r0-ls1021a-iot-20150907014533.dtb
uImage-ls1021aiot.bin -> uImage--3.12-r0-ls1021aiot-20150907014533.bin
uImage-ls1021a-iot.dtb -> uImage--3.12-r0-ls1021a-iot-20150907014533.dtb
zImage

The blank 8GB sdcard is formatted as a single fat32 partition.

We run "dd if=u-boot.bin of=/dev/sdb bs=512 seek=8" but there is no serial console output when inserted into the card slot on the board.

The card that came with the board boots immediately upon insertion.

Any help would be appreciated.

Thanks,

Gary

Outcomes