X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=doc%2FREADME.KARO-TX28;h=c5a1fe13adcaaa3d1ca81b2c9ef27de7923a364b;hb=c552f39b08da25a7ca5af89e6d5f2cf93e7fe2aa;hp=36b86573979138bff153bed0b3743ebaf42119ba;hpb=56b0f39408c3d78dacb02db88de15e669dff9669;p=karo-tx-uboot.git diff --git a/doc/README.KARO-TX28 b/doc/README.KARO-TX28 index 36b8657397..c5a1fe13ad 100644 --- a/doc/README.KARO-TX28 +++ b/doc/README.KARO-TX28 @@ -4,12 +4,12 @@ Building U-Boot --------------- -Note: There are currently two variants of the TX53 module, that +Note: There are currently two variants of the TX28 module, that require slightly different U-Boot configurations. They are distinguished through the last digit of the module name. Replace the '?' in the following description with the corresponding - number from your TX51 module. - E.g. TX53-8031 => 'make tx53-xx31_config' + number from your TX28 module. + E.g. TX28-4031 => 'make tx28-40x1_config' Unpacking the source -------------------- @@ -17,37 +17,74 @@ mkdir u-boot 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.karo-electronics.de/karo-tx-uboot.git master + + Compiling U-Boot ---------------- export ARCH=arm -export CROSS_COMPILE=arm-cortexa8-linux-gnueabi- -make tx28-4?xx_config (see above Note!) +export CROSS_COMPILE=arm-926ejs-linux-gnueabi- +make tx28-4?x?_config (see above Note!) make Flashing U-Boot Image --------------------- If you want to replace a working U-Boot with a new version, you can -load the new U-Boot image via TFTP and program it like any other flash -partition with: -nand erase.part u-boot;nand write.trimffs ${fileaddr} u-boot ${filesize} +load the new U-Boot image via TFTP or SD-Card and write it to flash +with the 'romupdate' command. If you want to revive a bricked module, U-Boot can be downloaded via -USB with the 'sbloader' tool in recovery boot mode (Jumper ST3 -on Starterkit-5 baseboard closed). See TX28-U-Boot.pdf for details. +USB with the 'sbloader' tool in recovery boot mode (Bootmode jumper ST3 +on Starterkit-5 baseboard closed). See TX28_U-Boot.pdf for details. + +e.g.: /cdrom/Flashtools/Linux/sbloader/sbloader-x86_32 -s /cdrom/U-Boot/u-boot-tx28-4031.bin +(This command can be used from within the ARMSK-VM) 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 clock frequency set after boot. + +touchpanel {tsc2007|edt-ft5x06|imx28-lradc} type of touchpanel. + No touchpanel will be enabled when unset. + +otg_mode [host|device|none] operation mode of the USBOTG port + +video_mode + LCD interface will be disabled when unset. -cpu_clk -touchpanel {tsc2007|edt-ft5x06} -otg_mode [host|device|none] -video_mode