36 lines
806 B
Bash
36 lines
806 B
Bash
#!/bin/sh
|
|
|
|
# use 'dhcp' to do dhcp in barebox 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=nand
|
|
rootfs_loc=nand
|
|
|
|
# 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:CTP-CLAA070LC0ACW"
|
|
|
|
nor_parts="256k(barebox)ro,512k(bareboxenv),2M(kernel),-(root)"
|
|
rootfs_mtdblock_nor=3
|
|
|
|
nand_parts="256k(barebox)ro,512k(bareboxenv),2M(kernel),-(root)"
|
|
rootfs_mtdblock_nand=7
|