]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - doc/README.KARO-TX51
Unified codebase for TX28, TX48, TX51, TX53
[karo-tx-uboot.git] / doc / README.KARO-TX51
1                                         U-Boot for TX51
2                                         ===============
3
4 Building U-Boot
5 ---------------
6
7 Note: There are currently three variants of the TX51 module, that
8       require slightly different U-Boot configurations. They are
9       distinguished through the last digit of the module name. Replace
10       the '?' in the following description with the corresponding
11       numbers from your TX51 module.
12       E.g. TX51-8021 => 'make tx51-8xx1_config'
13
14 Unpacking the source
15 --------------------
16 mkdir u-boot
17 cd u-boot
18 tar -xjf /cdrom/U-Boot/u-boot-src.tar.bz2
19
20 Compiling U-Boot
21 ----------------
22 export ARCH=arm
23 export CROSS_COMPILE=arm-cortexa8-linux-gnueabi-
24 make tx51-?xx?_config            (see above Note!)
25 make
26
27
28 Flashing U-Boot Image
29 ---------------------
30 If you want to replace a working U-Boot with a new version, you can
31 load the new U-Boot image via TFTP and program it like any other flash
32 partition with:
33 nand erase.part u-boot;nand write ${fileaddr} u-boot ${filesize}
34
35 If you want to revive a bricked module, you can use one of the
36 flashtools provided with the BSP to reprogram the flash.
37
38
39 U-Boot Features
40 ---------------
41
42 Environment variables:
43
44 cpu_clk       <CPU freq [MHz]>
45 touchpanel    {tsc2007|edt-ft5x06}
46 otg_mode      [host|device|none]
47 video_mode    <video mode as understood by Linux fb_find_mode() function>
48               e.g.: VGA-1:640x480MR-24@60
49 baseboard     {stk5-v3|stk5-v5} selects type of baseboard
50               'stk5-v5' setting disables USB Host mode on USBOTG port.
51               strings not starting in 'stk5' prevent the STK5 specific
52               pad initialization to be done.
53 splashimage   memory address of a BMP file to be displayed instead of
54               the built-in logo. Since NAND flash is not accessible in
55               a memory mapped fashion, U-Boot will try to load the
56               contents of the flash partition 'logo' to the address
57               given with 'splashimage'.
58
59 Note: Some variables (like 'cpu_clk' or 'splashimage') may render the
60       board unbootable if incorrectly set. Therefore these variables
61       will not be evaluated in case the board has been reset through a
62       watchdog reset or a character is available on the serial console
63       during startup to give the user a chance to recover from this
64       situation.