]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - doc/README.KARO-TX6
gpio: mxs: fix prototype of gpio_set_value()
[karo-tx-uboot.git] / doc / README.KARO-TX6
index edf595e8d388632b995813c5a11adc1500f7c582..334b58c728b1d8d56d4e5e6466575440fb114ca8 100644 (file)
@@ -4,7 +4,7 @@
 Building U-Boot
 ---------------
 
-Note: There are currently six variants of the TX6 module, that
+Note: There are currently seven variants of the TX6 module, that
       require slightly different U-Boot configurations. They are
       distinguished through the 'TX6' suffix 'Q' or 'U' and the
       numerical suffix of the module name. Replace the '?' in the
@@ -19,19 +19,21 @@ cd u-boot
 tar -xjf /cdrom/U-Boot/u-boot-src.tar.bz2
 
 Alternatively you can access the current source via the git repository:
-git://git.kernelconcepts.de/karo-tx-uboot.git master
+git://git.karo-electronics.de/karo-tx-uboot.git master
 
 
 Compiling U-Boot
 ----------------
 export ARCH=arm
 export CROSS_COMPILE=arm-cortexa9-linux-gnueabi-
-make tx6?-??1?_config            (see above Note!)
+make tx6?-????_config            (see above Note!)
 make
 
 
 Flashing U-Boot Image
 ---------------------
+For all TX6 modules except TX6Q-1020:
+-------------------------------------
 If you want to replace a working U-Boot with a new version, you can
 load the new U-Boot image via TFTP or SD-Card and write it to flash
 with the 'romupdate' command.
@@ -43,6 +45,18 @@ on Starterkit-5 baseboard closed). See TX6_U-Boot.pdf for details.
 e.g.: /cdrom/Flashtools/Linux/sbloader/sbloader-x86_32 -m -s /cdrom/U-Boot/target/u-boot-tx6q-1010.bin
 (This command can be used from within the ARMSK-VM)
 
+For TX6Q-1020:
+--------------
+The TX6Q-1020 is equipped with eMMC instead of NAND flash.
+The bootloader, U-Boot environment and DTB is stored in the first boot
+partition of the eMMC device. The command to update the bootloader
+TX6Q U-Boot > set autostart n
+TX6Q U-Boot > tftp u-boot-tx6q-1020.bin
+TX6Q U-Boot > mmc open 0 1
+TX6Q U-Boot > mmc write ${fileaddr} 0 400
+TX6Q U-Boot > mmc close 0 1
+
+
 MfgTool
 -------
 For Windows users the application MfgTool allows the (re-)flashing of
@@ -57,6 +71,25 @@ U-Boot Features
 ---------------
 
 Environment variables:
+boot_mode     selects which boot script will be used by 'bootcmd' to
+             boot the application (Linux)
+             supported values:
+             nand: (default) load kernel from NAND partition 'linux'
+                             and mount rootfs (fstype UBIFS)
+                             from partition 'rootfs'. 
+             mmc:            load kernel from file 'uImage' on first
+                             partition (FAT) on (first) SD/MMC card
+                             and mount rootfs (fstype autodetected)
+                             from second partition.
+             net:            load kernel image via tftp (file uImage)
+                             and mount rootfs via NFS. This requires
+                             the additional variables 'nfsroot'
+                             (path to rootfs on NFS server) and
+                             'nfs_server' (hostname or IP address of
+                             NFS server) to be set.
+             jffs2: (legacy) load kernel from NAND partition 'linux'
+                             and mount rootfs (fstype JFFS2)
+                             from partition 'rootfs'.
 
 cpu_clk       <CPU freq [MHz]> CPU clock frequency set after boot.