]> git.karo-electronics.de Git - karo-tx-uboot.git/blob - doc/README.KARO-TX53
doc: updated KARO README files
[karo-tx-uboot.git] / doc / README.KARO-TX53
1                                         U-Boot for TX53
2                                         ===============
3
4 Building U-Boot
5 ---------------
6
7 Note: There are currently two variants of the TX53 module, that
8       require slightly different U-Boot configurations. The mapping
9       between module names and U-Boot config make targets is as
10       following:
11
12       Module Name       U-Boot config target
13       =====================================
14       TX53-8030         tx53-x030_config'
15       TX53-8130         tx53-x130_config'
16       TX53-1030         tx53-x030_config'
17       TX53-1331         tx53-x131_config'
18
19 Unpacking the source
20 --------------------
21 mkdir u-boot
22 cd u-boot
23 tar -xjf /cdrom/U-Boot/u-boot-src.tar.bz2
24
25 Alternatively you can access the current source via the git repository:
26 git://git.kernelconcepts.de/karo-tx-uboot.git master
27
28
29 Compiling U-Boot
30 ----------------
31 export ARCH=arm
32 export CROSS_COMPILE=arm-cortexa8-linux-gnueabi-
33 make tx53-x?3?_config            (see above Note!)
34 make
35
36
37 Flashing U-Boot Image
38 ---------------------
39 If you want to replace a working U-Boot with a new version, you can
40 load the new U-Boot image via TFTP and program it like any other flash
41 partition with:
42 nand erase.part u-boot;nand write ${fileaddr} u-boot ${filesize}
43
44 If you want to revive a bricked module, you can use one of the
45 flashtools provided with the BSP to reprogram the flash.
46
47
48 U-Boot Features
49 ---------------
50
51 Environment variables:
52
53 cpu_clk       <CPU freq [MHz]> CPU clock frequency set after boot.
54
55 touchpanel    {tsc2007|edt-ft5x06|egalax_ts} type of touchpanel.
56               No touchpanel will be enabled when unset.
57
58 otg_mode      [host|device|none] operation mode of the USBOTG port
59
60 video_mode    <one of the display names from the Glyn Family Concept or
61               a video mode as understood by Linux fb_find_mode() function
62               (e.g.: 640x480MR-24@60)>
63               LCD interface will be disabled when unset.
64
65 baseboard     {stk5-v3|stk5-v5} selects type of baseboard
66               'stk5-v5' setting disables USB Host mode on USBOTG port
67               and redefines the LCD0 pin as CAN transceiver control pin.
68               Strings not starting in 'stk5' prevent the STK5 specific
69               pad initialization to be done.
70
71 splashimage   either: memory address (e.g. ${loadaddr}) of a BMP file
72               to be displayed instead of the built-in logo. Since NAND
73               flash is not accessible in a memory mapped fashion,
74               U-Boot will try to load the contents of the flash
75               partition 'logo.bmp' to the address given with
76               'splashimage'.
77
78               or: the name of an MTD partition, that contains a raw
79               dump of the frame buffer contents which will be loaded
80               to the framebuffer.
81
82 splashpos     (when 'splashimage' contains a memory address) the
83               position ('x,y') on the screen at which the BMP image
84               will be displayed.
85               Setting splashpos to 'm,m' will center the image on the
86               screen.
87
88 Note: Some variables (like 'cpu_clk' or 'splashimage') may render the
89       board unbootable if incorrectly set. Therefore these variables
90       will not be evaluated in case the board has been reset through a
91       watchdog reset or <CTRL-C> is detected on the serial console
92       during startup to give the user a chance to recover from this
93       situation. You should press and hold <CTRL-C> before applying
94       power to the module, for this to work.