Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
iconfalse
title~/smarc-t335x-uboot

$ sudo cp -v MLO /media/boot/
$ sudo cp -v u-boot.img /media/boot/ 

 

uEnv.txt based bootscript

...

Info
iconfalse
title~/

$ sudo cp -v ./uEnv.txt /media/boot/

 

Install Kernel zImage

Copy zImage to the boot partition:

...

Info
iconfalse

$ sudo mkdir -p /media/boot/dtbs

$ sudo cp -v arch/arm/boot/dts/am335x-smarct335x.dtb /media/boot/dtbs

 

Install Root File System and Kernel Modules

...

Info
iconfalse
title/media/rootfs/etc/network/interfaces

auto lo
iface lo inet loopback
 
auto eth0
iface eth0 inet dhcp

 

Remove SD card:

Info
iconfalse
$ sync
$ sudo umount /media/boot
$ sudo umount /media/rootfs

...

Note

For kernel 3.14.y and after, the serial port device descriptor changes from ttyO to ttyS

The above uEnv.txt file needs to change accordingly. (ttyO3 --> ttyS3)

 

Copy uEnv.txt to the boot Copy real rootfs to rootfs partition:

...

Insert this SD card into your SMARC T335X device and boot up the devices from SD card.

Now it will be almost the same as you did when setup your SD card, but the eMMC device descriptor is /dev/mmcblk1 now.

...