]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - doc/README.KARO-TX48
Unified codebase for TX28, TX48, TX51, TX53
[karo-tx-uboot.git] / doc / README.KARO-TX48
1                                         U-Boot for TX48
2                                         ===============
3
4 Building U-Boot
5 ---------------
6
7 Unpacking the source
8 --------------------
9 mkdir u-boot
10 cd u-boot
11 tar -xjf /cdrom/U-Boot/u-boot-src.tar.bz2
12
13 Compiling U-Boot
14 ----------------
15 export ARCH=arm
16 export CROSS_COMPILE=arm-cortexa8-linux-gnueabi-
17 make tx48_config
18 make
19
20
21 Flashing U-Boot Image
22 ---------------------
23 If you want to replace a working U-Boot with a new version, you can
24 load the new U-Boot image via TFTP and program it like any other flash
25 partition with:
26 nand erase.part u-boot;nand write.trimffs ${fileaddr} u-boot ${filesize}
27
28 If you want to revive a bricked module, U-Boot can be downloaded via
29 xmodem protocol over the serial port in recovery boot mode (Jumper ST3
30 on Starterkit-5 baseboard closed). See TX48-U-Boot.pdf for details.
31
32
33 U-Boot Features
34 ---------------
35
36 Environment variables:
37
38 cpu_clk       <CPU freq [MHz]>
39 touchpanel    {tsc2007|edt-ft5x06}
40 otg_mode      [host|device|none]
41 video_mode    <video mode as understood by Linux fb_find_mode() function>
42               e.g.: 640x480MR-24@60
43 baseboard     {stk5-v3|stk5-v5} selects type of baseboard
44 splashimage   memory address of a BMP file to be displayed instead of
45               the built-in logo. Since NAND flash is not accessible in
46               a memory mapped fashion, U-Boot will try to load the
47               contents of the flash partition 'logo' to the address
48               given with 'splashimage'.
49
50 Note: Some variables (like 'cpu_clk' or 'splashimage') may render the
51       board unbootable if incorrectly set. Therefore these variables
52       will not be evaluated in case the board has been reset through a
53       watchdog reset or a character is available on the serial console
54       during startup to give the user a chance to recover from this
55       situation.