diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-02-04 15:42:45 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-02-04 15:42:45 -0500 |
commit | 1fe666d52dd2d2318d2a79ffce9cff47f9b34e3c (patch) | |
tree | 34432d70dfc22519ccf6f3a91779a37a94e73d1c | |
parent | bb550d87dd56a7d0637211d6ffc86b1f68db68d3 (diff) |
Added tegra u-boot script.
-rw-r--r-- | tegra-boot-sample.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tegra-boot-sample.txt b/tegra-boot-sample.txt new file mode 100644 index 0000000..0ed8f5f --- /dev/null +++ b/tegra-boot-sample.txt | |||
@@ -0,0 +1,42 @@ | |||
1 | # Note: tegra-install-kernel.sh does NOT use this, unlike | ||
2 | # {panda,odroid}-install-kernel.sh. hermanjl has yet to figure out how to mount | ||
3 | # the mmc drives which hold the tegra u-boot files so these values were manually | ||
4 | # entered in minicom and saved on the mmc using "saveenv". The script is stored | ||
5 | # here for safety. | ||
6 | baudrate=115200 | ||
7 | board=cardhu | ||
8 | bootargs=console=ttyS0,115200n8 console=tty1 vmalloc=256M mem=2047M@2048M noinitrd usbcore.old_scheme_first=1 core_edp_mv=1300 panel=lvds tegraid=30.1.2.0.0 loglevel=7 debug_uartport=lsport,2 smp tegra_fbmem=3072K@0xBFE00000 max_cpu_cur_me | ||
9 | bootcmd=run usb_boot; run mmc1_boot; run mmc0_boot | ||
10 | bootdelay=3 | ||
11 | bootdev_bootargs=root=/dev/sda1 rw rootwait gpt | ||
12 | bootfile=vmlinux.uimg | ||
13 | common_bootargs=console=ttyS0,115200n8 console=tty1 vmalloc=256M mem=2047M@2048M noinitrd | ||
14 | console=ttyS0,115200n8 | ||
15 | emmc_root=/dev/mmcblk1p1 | ||
16 | extra_bootargs=usbcore.old_scheme_first=1 core_edp_mv=1300 panel=lvds tegraid=30.1.2.0.0 loglevel=7 debug_uartport=lsport,2 smp tegra_fbmem=3072K@0xBFE00000 max_cpu_cur_ma=10000 | ||
17 | fs_root=/dev/sda1 | ||
18 | gdb_boot=setenv gdb kgdboc=ttyS0,115200 kgdbwait nokgdbroundup; setenv console /dev/null; run bootcmd | ||
19 | loadaddr=0x80408000 | ||
20 | lp0_vec=0x00002000@0x9C406000 | ||
21 | mmc0_boot=setenv mmcdev 0; run root_setup; run mmc_boot | ||
22 | mmc1_boot=setenv mmcdev 1; run root_setup; run mmc_boot | ||
23 | mmc_boot=run mmc_setup; mmc rescan ${mmcdev}; ext2load mmc ${mmcdev}:${pn} ${loadaddr} /boot/${bootfile}; bootm ${loadaddr} | ||
24 | mmc_setup=setenv bootdev_bootargs root=${fs_root} rw rootwait gpt; run regen_all | ||
25 | mmcdev=1 | ||
26 | mmcname=mmcblk | ||
27 | netconsole=netconsole=44446@152.2.129.249/eth0,44446@152.2.142.84/00:21:9b:1b:85:7e | ||
28 | nfs_root=/dev/nfs ip=:::::eth0:dhcp | ||
29 | platform_extras=vmalloc=256M mem=2047M@2048M | ||
30 | pn=1 | ||
31 | regen_all=setenv common_bootargs console=${console} console=tty1 ${platform_extras} ${dev_extras} noinitrd; setenv bootargs ${common_bootargs} ${extra_bootargs} ${bootdev_bootargs} ${netconsole} ${gdb} | ||
32 | root_setup=setenv emmc_root /dev/${mmcname}${mmcdev}p${pn};setenv nfs_root /dev/nfs ip=:::::eth0:dhcp; setenv sata_root /dev/sda1; setenv fs_root ${sata_root} | ||
33 | sata_root=/dev/sda1 | ||
34 | serial#=1 | ||
35 | stderr=serial,lcd | ||
36 | stdin=serial,tegra-kbc | ||
37 | stdout=serial,lcd | ||
38 | usb_boot=usb start; run usb_setup; ext2load usb 0:${pn} ${loadaddr} /boot/${bootfile}; bootm ${loadaddr} | ||
39 | usb_setup=setenv bootdev_bootargs root=/dev/${usbname}${pn} rw rootwait; run regen_all | ||
40 | usbname=sda | ||
41 | user=user | ||
42 | videospec=tegrafb | ||