How to boot TinyDistro in uboot after install rootfs and bootpartiton in LS1028ARDB

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

How to boot TinyDistro in uboot after install rootfs and bootpartiton in LS1028ARDB

751 Views
DKJUNG
Contributor I

 

Hello,

 

I installed rootfs and bootpartiton in eMMC

after that, It boots Ubuntu automatically.

 

in this case, I want to install TinyDistro in uboot

I also installed firmware_uboot.img with rootfs and bootpartition

 

Thank you

0 Kudos
3 Replies

733 Views
DKJUNG
Contributor I

I did it to format eMMC and reinstall tinydistro with remove partiton and

$ dd if=firmware_ls1028ardb_uboot_emmcboot.img of=/dev/mmcblk0 seek=8 bs=512

 

Thank you

0 Kudos

746 Views
Pavel
NXP Employee
NXP Employee

Use .img file for writing TinyDistro to eMMC under u-boot.

 

Load this .img file under u-boot to the SDRAM at address 0xA000_0000.

Switch to e_MMC.

Write this .image file from the SDRAM to eMMC. Offset for writing in eMMMC is 0x08.

0 Kudos

740 Views
DKJUNG
Contributor I

I downloaded .img file to tftp and write it

but, It boots Ubuntu yet

 

my command

>> tftp 0xa0000000 firmware_ls1028ardb_uboot_emmcboot.img

>> mmc dev 1

>> mmc write 0xa0000000 8 0x25000

>> reset

0 Kudos