aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Robinson2018-06-10 00:17:46 -0500
committerTom Warren2018-07-06 11:12:39 -0500
commit84996795c2f81cbfac210b6f2c168c5fb06a7a20 (patch)
tree685e02e67a7eb3939ede48a84eefdb179401db25
parent4ac5df4b41ba46d7e635bdd8d500721c642b0a0d (diff)
downloadu-boot-84996795c2f81cbfac210b6f2c168c5fb06a7a20.tar.gz
u-boot-84996795c2f81cbfac210b6f2c168c5fb06a7a20.tar.xz
u-boot-84996795c2f81cbfac210b6f2c168c5fb06a7a20.zip
tegra: nyan-big: Update CONFIG_SYS_TEXT to the default in README.chromium
To build U-Boot on a Nyan Big Chromebook the docs outline adjusting the Tegra124 defined CONFIG_SYS_TEXT_BASE but this has since been moved to individual config files. We should have the default required for U-Boot chain loading on the chromebook as the default CONFIG_SYS_TEXT_BASE and update the docs to remove this now non required step. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r--configs/nyan-big_defconfig2
-rw-r--r--doc/README.chromium27
2 files changed, 8 insertions, 21 deletions
diff --git a/configs/nyan-big_defconfig b/configs/nyan-big_defconfig
index 8868d1f9e1..3b64c64371 100644
--- a/configs/nyan-big_defconfig
+++ b/configs/nyan-big_defconfig
@@ -1,6 +1,6 @@
1CONFIG_ARM=y 1CONFIG_ARM=y
2CONFIG_TEGRA=y 2CONFIG_TEGRA=y
3CONFIG_SYS_TEXT_BASE=0x80110000 3CONFIG_SYS_TEXT_BASE=0x81000100
4CONFIG_DEBUG_UART_BASE=0x70006000 4CONFIG_DEBUG_UART_BASE=0x70006000
5CONFIG_DEBUG_UART_CLOCK=408000000 5CONFIG_DEBUG_UART_CLOCK=408000000
6CONFIG_TEGRA124=y 6CONFIG_TEGRA124=y
diff --git a/doc/README.chromium b/doc/README.chromium
index 7bf4d87447..45eaeced2d 100644
--- a/doc/README.chromium
+++ b/doc/README.chromium
@@ -43,26 +43,13 @@ https://git.collabora.com/cgit/user/tomeu/u-boot.git/commit/?h=nyan-big
43https://lists.denx.de/pipermail/u-boot/2017-May/289491.html 43https://lists.denx.de/pipermail/u-boot/2017-May/289491.html
44https://github.com/chromeos-nvidia-androidtv/gnu-linux-on-acer-chromebook-13#copy-data-to-the-sd-card 44https://github.com/chromeos-nvidia-androidtv/gnu-linux-on-acer-chromebook-13#copy-data-to-the-sd-card
45 45
461. Patch U-Boot 461. Build U-Boot
47
48Open include/configs/tegra124-common.h
49
50Change:
51
52#define CONFIG_SYS_TEXT_BASE 0x80110000
53
54to:
55
56#define CONFIG_SYS_TEXT_BASE 0x81000100
57
58
592. Build U-Boot
60 47
61 mkdir b 48 mkdir b
62 make -j8 O=b/nyan-big CROSS_COMPILE=arm-linux-gnueabi- nyan-big_defconfig all 49 make -j8 O=b/nyan-big CROSS_COMPILE=arm-linux-gnueabi- nyan-big_defconfig all
63 50
64 51
653. Select a .its file 522. Select a .its file
66 53
67Select something from doc/chromium which matches your board, or create your 54Select something from doc/chromium which matches your board, or create your
68own. 55own.
@@ -72,7 +59,7 @@ used by U-Boot. This is because the Chromebook expects to pass it to the
72kernel, and crashes if it is not present. 59kernel, and crashes if it is not present.
73 60
74 61
754. Build and sign an image 623. Build and sign an image
76 63
77 ./b/nyan-big/tools/mkimage -f doc/chromium/nyan-big.its u-boot-chromium.fit 64 ./b/nyan-big/tools/mkimage -f doc/chromium/nyan-big.its u-boot-chromium.fit
78 echo test >dummy.txt 65 echo test >dummy.txt
@@ -82,7 +69,7 @@ kernel, and crashes if it is not present.
82 --bootloader dummy.txt --pack u-boot.kpart 69 --bootloader dummy.txt --pack u-boot.kpart
83 70
84 71
855. Prepare an SD card 724. Prepare an SD card
86 73
87 DISK=/dev/sdc # Replace with your actual SD card device 74 DISK=/dev/sdc # Replace with your actual SD card device
88 sudo cgpt create $DISK 75 sudo cgpt create $DISK
@@ -91,12 +78,12 @@ kernel, and crashes if it is not present.
91 sudo gdisk $DISK # Enter command 'w' to write a protective MBR to the disk 78 sudo gdisk $DISK # Enter command 'w' to write a protective MBR to the disk
92 79
93 80
946. Write U-Boot to the SD card 815. Write U-Boot to the SD card
95 82
96 sudo dd if=u-boot.kpart of=/dev/sdc1; sync 83 sudo dd if=u-boot.kpart of=/dev/sdc1; sync
97 84
98 85
997. Start it up 866. Start it up
100 87
101Reboot the device in dev mode. Make sure that you have USB booting enabled. To 88Reboot the device in dev mode. Make sure that you have USB booting enabled. To
102do this, login as root (via Ctrl-Alt-forward_arrow) and type 89do this, login as root (via Ctrl-Alt-forward_arrow) and type
@@ -115,7 +102,7 @@ mode screen. It should show something like the following on the display:
115 Tegra124 (Nyan-big) # 102 Tegra124 (Nyan-big) #
116 103
117 104
1188. Known problems 1057. Known problems
119 106
120On the serial console the word MMC is chopped at the start of the line: 107On the serial console the word MMC is chopped at the start of the line:
121 108