summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-02-04 15:42:45 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-02-04 15:42:45 -0500
commit1fe666d52dd2d2318d2a79ffce9cff47f9b34e3c (patch)
tree34432d70dfc22519ccf6f3a91779a37a94e73d1c
parentbb550d87dd56a7d0637211d6ffc86b1f68db68d3 (diff)
Added tegra u-boot script.
-rw-r--r--tegra-boot-sample.txt42
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.
6baudrate=115200
7board=cardhu
8bootargs=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
9bootcmd=run usb_boot; run mmc1_boot; run mmc0_boot
10bootdelay=3
11bootdev_bootargs=root=/dev/sda1 rw rootwait gpt
12bootfile=vmlinux.uimg
13common_bootargs=console=ttyS0,115200n8 console=tty1 vmalloc=256M mem=2047M@2048M noinitrd
14console=ttyS0,115200n8
15emmc_root=/dev/mmcblk1p1
16extra_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
17fs_root=/dev/sda1
18gdb_boot=setenv gdb kgdboc=ttyS0,115200 kgdbwait nokgdbroundup; setenv console /dev/null; run bootcmd
19loadaddr=0x80408000
20lp0_vec=0x00002000@0x9C406000
21mmc0_boot=setenv mmcdev 0; run root_setup; run mmc_boot
22mmc1_boot=setenv mmcdev 1; run root_setup; run mmc_boot
23mmc_boot=run mmc_setup; mmc rescan ${mmcdev}; ext2load mmc ${mmcdev}:${pn} ${loadaddr} /boot/${bootfile}; bootm ${loadaddr}
24mmc_setup=setenv bootdev_bootargs root=${fs_root} rw rootwait gpt; run regen_all
25mmcdev=1
26mmcname=mmcblk
27netconsole=netconsole=44446@152.2.129.249/eth0,44446@152.2.142.84/00:21:9b:1b:85:7e
28nfs_root=/dev/nfs ip=:::::eth0:dhcp
29platform_extras=vmalloc=256M mem=2047M@2048M
30pn=1
31regen_all=setenv common_bootargs console=${console} console=tty1 ${platform_extras} ${dev_extras} noinitrd; setenv bootargs ${common_bootargs} ${extra_bootargs} ${bootdev_bootargs} ${netconsole} ${gdb}
32root_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}
33sata_root=/dev/sda1
34serial#=1
35stderr=serial,lcd
36stdin=serial,tegra-kbc
37stdout=serial,lcd
38usb_boot=usb start; run usb_setup; ext2load usb 0:${pn} ${loadaddr} /boot/${bootfile}; bootm ${loadaddr}
39usb_setup=setenv bootdev_bootargs root=/dev/${usbname}${pn} rw rootwait; run regen_all
40usbname=sda
41user=user
42videospec=tegrafb