]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - doc/README.KARO-TX28
doc: updated KARO README files
[karo-tx-uboot.git] / doc / README.KARO-TX28
1                                         U-Boot for TX28
2                                         ===============
3
4 Building U-Boot
5 ---------------
6
7 Note: There are currently two variants of the TX28 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       number from your TX28 module.
12       E.g. TX28-4031 => 'make tx28-40x1_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 Alternatively you can access the current source via the git repository:
21 git://git.kernelconcepts.de/karo-tx-uboot.git master
22
23
24 Compiling U-Boot
25 ----------------
26 export ARCH=arm
27 export CROSS_COMPILE=arm-926ejs-linux-gnueabi-
28 make tx28-4?x?_config            (see above Note!)
29 make
30
31
32 Flashing U-Boot Image
33 ---------------------
34 If you want to replace a working U-Boot with a new version, you can
35 load the new U-Boot image via TFTP or SD-Card and write it to flash
36 with the 'romupdate' command.
37
38 If you want to revive a bricked module, U-Boot can be downloaded via
39 USB with the 'sbloader' tool in recovery boot mode (Bootmode jumper ST3
40 on Starterkit-5 baseboard closed). See TX28_U-Boot.pdf for details.
41
42 e.g.: /cdrom/Flashtools/Linux/sbloader/sbloader-x86_32 -s /cdrom/U-Boot/u-boot-tx28-4031.bin
43 (This command can be used from within the ARMSK-VM)
44
45
46 U-Boot Features
47 ---------------
48
49 Environment variables:
50
51 cpu_clk       <CPU freq [MHz]> CPU clock frequency set after boot.
52
53 touchpanel    {tsc2007|edt-ft5x06|imx28-lradc} type of touchpanel.
54               No touchpanel will be enabled when unset.
55
56 otg_mode      [host|device|none] operation mode of the USBOTG port
57
58 video_mode    <one of the display names from the Glyn Family Concept or
59               a video mode as understood by Linux fb_find_mode() function
60               (e.g.: 640x480MR-24@60)>
61               LCD interface will be disabled when unset.
62
63 baseboard     {stk5-v3|stk5-v5} selects type of baseboard
64               'stk5-v5' setting disables USB Host mode on USBOTG port
65               and redefines the LCD0 pin as CAN transceiver control pin.
66               Strings not starting in 'stk5' prevent the STK5 specific
67               pad initialization to be done.
68
69 splashimage   either: memory address (e.g. ${loadaddr}) of a BMP file
70               to be displayed instead of the built-in logo. Since NAND
71               flash is not accessible in a memory mapped fashion,
72               U-Boot will try to load the contents of the flash
73               partition 'logo.bmp' to the address given with
74               'splashimage'.
75
76               or: the name of an MTD partition, that contains a raw
77               dump of the frame buffer contents which will be loaded
78               to the framebuffer.
79
80 splashpos     (when 'splashimage' contains a memory address) the
81               position ('x,y') on the screen at which the BMP image
82               will be displayed.
83               Setting splashpos to 'm,m' will center the image on the
84               screen.
85
86 Note: Some variables (like 'cpu_clk' or 'splashimage') may render the
87       board unbootable if incorrectly set. Therefore these variables
88       will not be evaluated in case the board has been reset through a
89       watchdog reset or <CTRL-C> is detected on the serial console
90       during startup to give the user a chance to recover from this
91       situation. You should press and hold <CTRL-C> before applying
92       power to the module, for this to work.