Newer
Older
barebox / board / freescale-mx35-3-stack / env / config
#!/bin/sh

# use 'dhcp' to do dhcp in uboot and in kernel
# use 'no' if you don't want to pass the ip from barebox to the kernel
#ip=dhcp

# or set your networking parameters here
#eth0.ipaddr=a.b.c.d
#eth0.netmask=a.b.c.d
#eth0.gateway=a.b.c.d
#eth0.serverip=a.b.c.d

# can be either 'net', 'nor' or 'nand''
kernel_loc=nor
rootfs_loc=nor

# can be either 'jffs2', or 'ubifs'
rootfs_type=ubifs

kernel=uImage-mx35-3-stack
rootfs=root-mx35-3-stack
envimage=u-boot-v2-environment-mx35-3-stack

autoboot_timeout=3

nfsroot="/path/to/nfs/root"
bootargs="console=ttymxc0,115200"

#bootargs="$bootargs video=mx3fb:TX090"

nor_parts="256k(uboot)ro,128k(ubootenv),1M(splash),2M(kernel),-(root)"
rootfs_mtdblock_nor=3

nand_parts="256k(uboot)ro,256k(ubootenv),1M(splash),2M(kernel),-(root)"
rootfs_mtdblock_nand=9