LS1021ATSN-PA uboot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1021ATSN-PA uboot

677 Views
yunqw_41
Contributor I

I need to start the LS1021ATSN-PA. I have prepare the SD card according to LS1021ATSN-PA Getting Start Guide,when I insert the SD card to the board,I can't see the uboot.what should I do next?

I have finished these step :

Steps to prepare SD card
1. To list devices and partitions:
sudo fdisk -l
2. To create partition in sdcard:
sudo fdisk /dev/sdX
- where ‘X’ can be a, b, c etc based on the point to which SD card is mounted.
At the fdisk prompt, delete old partitions and create a new one:
Type o. This will clear out any partitions on the drive.
Type p to list partitions. There should be no partitions left.
Now type n, then p for primary, 1 for the first partition on the drive, 4096 for the first sector, and then
press ENTER to accept the default last sector.
Write the partition table and exit by typing w.
3. Make file system type:
sudo mkfs.ext4 /dev/sdX1 -l rfs
4. To copy images to sdcard:
sudo dd
if=<source-directory-path>/build_ls1021atsn_release/tmp/deploy/images/ls1021atsn/u-boot-ls1021atsn.bin
of=/dev/sdX bs=512 seek=8 conv=notrunc oflag=dsync
5. Insert the SDcard on board

and Part 2- Booting from SD card
Insert the SD card in PC and copy required images to SD card.
1. As root, extract the fsl-image-tsn-ls1021atsn-...rootfs.tar.gz archive to the card.
$ sudo tar -xzf <filename.tar.gz> -C /media/rfs
2.
As root, copy the uImage file, uImage, to the boot directory on the RFS partition of the card.
$ sudo cp uImage-ls1021atsn.bin /media/rfs/boot/
3. If using a 3.10 or newer kernel, you will need to copy the Device Tree Blob file, ls1021atsn.dtb, to boot
directory on the RFS partition of the card.
$ sudo cp uImage-LS1021ATSN-PA.dtb /media/rfs/boot/
4. Unmount the card before removing it from the Development Host. Then place the card in SD card slot
of the LS1021ATSN-PA. $ sudo umount /media/rfs

Tags (1)
0 Kudos
Reply
1 Reply

594 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please try OpenIL SD image

$ git clone https://github.com/openil/openil.git
$ cd openil
$ git checkout OpenIL-201908 -b OpenIL-201908

$ cd openil
$ make nxp_ls1021atsn_defconfig
$ make

$ sudo dd if=./sdcard.img of=/dev/sdx
# or in some other host machine:
$ sudo dd if=./sdcard.img of=/dev/mmcblkx

LS1021A-TSN switch setting for SD card SW2 = 0b’111111