]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - doc/README.KARO-TX48
merged tx6dl-devel into denx master branch
[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 Alternatively you can access the current source via the git repository:
14 git://git.kernelconcepts.de/karo-tx-uboot.git master
15
16
17 Compiling U-Boot
18 ----------------
19 export ARCH=arm
20 export CROSS_COMPILE=arm-cortexa8-linux-gnueabi-
21 make tx48_config
22 make
23
24
25 Flashing U-Boot Image
26 ---------------------
27 If you want to replace a working U-Boot with a new version, you can
28 load the new U-Boot image via TFTP and program it like any other flash
29 partition with:
30 nand erase.part u-boot;nand write.trimffs ${fileaddr} u-boot ${filesize}
31
32 If you want to revive a bricked module, U-Boot can be downloaded via
33 xmodem protocol over the serial port in recovery boot mode (Jumper ST3
34 on Starterkit-5 baseboard closed). See TX48-U-Boot.pdf for details.
35
36
37 U-Boot Features
38 ---------------
39
40 Environment variables:
41
42 cpu_clk       <CPU freq [MHz]>
43 touchpanel    {tsc2007|edt-ft5x06}
44 otg_mode      [host|device|none]
45 video_mode    <video mode as understood by Linux fb_find_mode() function>
46               e.g.: 640x480MR-24@60
47 baseboard     {stk5-v3|stk5-v5} selects type of baseboard
48 splashimage   either: memory address (e.g. ${loadaddr}) of a BMP file
49               to be displayed instead of the built-in logo. Since NAND
50               flash is not accessible in a memory mapped fashion,
51               U-Boot will try to load the contents of the flash
52               partition 'logo.bmp' to the address given with
53               'splashimage'.
54
55               or: the name of an MTD partition, that contains a raw
56               dump of the frame buffer contents which will be loaded
57               to the framebuffer.
58
59 splashpos     (when 'splashimage' contains a memory address) the
60               position ('x,y') on the screen at which the BMP image
61               will be displayed.
62               Setting splashpos to 'm,m' will center the image on the
63               screen.
64
65 Note: Some variables (like 'cpu_clk' or 'splashimage') may render the
66       board unbootable if incorrectly set. Therefore these variables
67       will not be evaluated in case the board has been reset through a
68       watchdog reset or a character is available on the serial console
69       during startup to give the user a chance to recover from this
70       situation.