aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/barebox/barebox-2012.02.0/imx53qsb/config
blob: a0a2b7406b9d76b7904a491fd0cb080ccdefbe9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/sh

machine=imx53qsb
eth0.serverip=
user=

# use 'dhcp' to do dhcp in barebox and in kernel
# use 'none' if you want to skip kernel ip autoconfiguration
ip=none

# 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 'nfs', 'tftp', 'nor' or 'nand'
kernel_loc=mnt
# can be either 'net', 'nor', 'nand' or 'initrd'
rootfs_loc=disk

# boot parameters for SDCard boot
kernel_name=uImage
rootfs_part_linux_dev=mmcblk0p2
rootfs_type=ext3

# can be either 'jffs2' or 'ubifs'
#rootfs_type=ubifs
rootfsimage=rootfs-$machine.$rootfs_type

#kernelimage=zImage-$machine
kernelimage=uImage-$machine.bin
#kernelimage=Image-$machine
#kernelimage=Image-$machine.lzo

if [ -n $user ]; then
	kernelimage="$user"-"$kernelimage"
	nfsroot="$eth0.serverip:/home/$user/nfsroot/$machine"
	rootfsimage="$user"-"$rootfsimage"
else
	nfsroot="$eth0.serverip:/path/to/nfs/root"
fi

autoboot_timeout=3

bootargs="console=ttymxc0,115200"

disk_parts="512k(barebox)ro,512k(bareboxenv),8M(kernel),-(root)"

# set a fancy prompt (if support is compiled in)
PS1="\e[1;32mbarebox@\e[1;31m\h:\w\e[0m "