Versions Compared

Key

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

...

...

Info
iconfalse

$ git clone git@git.embedian.com:developer/smarc-t335x-uboot.git smarcfimx6-uboot

$ cd smarcfimx6-uboot

$ git checkout smarc-imx_v2014.04_3.1014.5328_1.10.0_ga

Configure and Build:

...

Linux Kernel

...

Download:

For 3.1014.53 28 (Based on Freescale imx_3.1014.5328_1.10.0_ga official release):

Info
iconfalse

$ git clone git@git.embedian.com:developer/smarc-fsl-linux-kernel.git

$ cd smarc-fsl-linux-kernel

$ git checkout smarc-imx_3.1014.5328_1.10.0_ga

Configure and Build:

...

Info
iconfalse
title~/uEnv.txt

optargs="video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24,bpp=32 consoleblank=0"
console=ttymxc4,115200
mmcdev=0
mmcpart=1
image=zImage
loadaddr=0x12000000
fdt_addr=0x18000000
mmcroot=/dev/mmcblk1p2 ro
mmcrootfstype=ext4 rootwait fixrtc
netdev=eth0
ethact=FEC0
ipaddr=192.168.1.150
serverip=192.168.1.53
gatewayip=192.168.1.254
mmcargs=setenv bootargs console=${console} root=${mmcroot} rootfstype=${mmcrootfstype} ${optargs}
uenvcmd=run loadzimage; run loadfdt; run mmcboot

Copy uEnv.txt to the boot partition:

...

(Users can also checkout the smarc-emmc-imx_3.1014.5328_1.10.0_ga branch from Embedian u-boot git server by the following way.

git checkout smarc-imx_3.1014.5328_1.10.0_ga
make ARCH=arm CROSS_COMPILE=${CC} distclean
make ARCH=arm CROSS_COMPILE=${CC} smarcfimx6_quad_1g_ser3_config
make ARCH=arm CROSS_COMPILE=${CC}

...

Copy and paste the following contents to /media/rootfs/home/root ($ sudo vim /media/rootfs/home/root/uEnv.txt)

Info
iconfalse
optargs="video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24,bpp=32 consoleblank=0"
console=ttymxc4,115200
mmcdev=2
mmcpart=1
image=zImage
loadaddr=0x12000000
fdt_addr=0x18000000
mmcroot=/dev/mmcblk3p2 ro
mmcrootfstype=ext4 rootwait fixrtc
netdev=eth0
ethact=FEC0
ipaddr=192.168.1.150
serverip=192.168.1.53
gatewayip=192.168.1.254
mmcargs=setenv bootargs console=${console} root=${mmcroot} rootfstype=${mmcrootfstype} ${optargs}
uenvcmd=run loadzimage; run loadfdt; run mmcboot

Copy device tree blob to rootfs partition:

...

Unmount eMMC:

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

 

Switch your Boot Select to eMMC and you will be able to boot up from eMMC now.


version 1.0a, 3/23/2015

Last updated 2015-0305-2307