INDEX: 1. FEATURES 2. BUILDING BLOB/PXA For Lubbock 3. SWITCH SETTINGS 4. KNOWN PROBLEMS 5. FAQ 6. CHANGELOG +++ NO WARRANTY! USE AT YOUR OWN RISK! +++ ---------------------------------------------------------------------------- 1. FEATURES Original Blob is a boot loader for SA11x0(StrongARM) platforms. Blob is able to boot a kernel stored in flash or RAM and provide that with a ramdisk (again from flash or RAM). Blob is copyrighted by Jan-Derk Bakker and Erik Mouw, and released with a slightly modified GNU GPL license. The official Blob web site is * http://www.lart.tudelft.nl/lartware/blob/ * http://sourceforge.net/projects/blob/ Blob for Intel PXA Architecture is ported from blob-2.0.5-prev2. It adds supports for, * Development boards o Lubbock * PXA CPUs o PXA255/PXA262 * I/O Drivers o Driver RS232 for PXA2xx o Driver for Intel Strata Flash o Driver for SMC91c96/SMC91c111 LAN chip o Driver for USB client on PXA2xx o Driver for Ethernet over USB o Network protocol : ARP/ICMP/TFTP * Commands o ifconfig o tftp o fwrite/ferase o go NOTE: Ramdisk support is removed from Blob. --------------------------------------------------------------------------- 2. BUILDING BLOB/PXA for LUBBOCK You need the following files: * blob-snapshot[mmddyy].tgz - Blob source from Intel PCG/SE Linux Team BLOB/PXA build steps: 2.1) Untar the Blob sources % tar xzvf blob-snapshot082203.tgz % cd blob-xscale 2.2) Set LINUX_DIR environment variable % export LINUX_DIR=/path/to/arm/linux/kernel NOTE: ARM/Linux kernel is required to build Blob. If you don't have ARM/Linux kernel, You need to download, o linux-2.4.19.tar.gz (ftp://ftp.kernel.org) o patch-2.4.19-rmk7.gz (ftp://ftp.arm.linux.org.uk/pub/armlinux/kernel/2.4) o diff-2.4.19-rmk7-pxa2.gz (ftp://sources.mvista.com/pub/xscale/pxa) % make lubbock_config % make oldconfig 2.3) Edit "config-pxa", and Run "config-pxa" Note, * "eth-over-usb" and SMC91x LAN driver is exclusive. Can't specify both at the same time. * To enable "eth-over-usb", specify "--with-eth=usb --enable-usb" * To enable Ethernet SMC91C96, specify "--with-eth=smc91x" % vi ./tools/config-pxa % ./tools/config-pxa If the Blob is built without errors, the Blob binary "blob" is under "src/blob/" 3. SWITCH SETTINGS 3.1) Switch settings for Lubbock * Sw23 Force the halving of MemClk when deriving SDCLK[1], - DOT : no override, - !DOT: halve (if not already force half) * Sw24 Run/Turbo; - DOT : Run mode - !DOT : Turbo mode * Sw25,Sw26 Sw25,SW26 L M N T/R/M/SD 0,0 27 1 1 100/100/100/100 0,1 27 1 2 200/100/100/100 0,2 27 1 3 300/100/100/100 0,3(*) 32 1 1 118/118/118/59 0,4(*) 32 1 2 236/118/118/59 0,5(*) 32 1 3 354/118/118/59 0,6(*) 36 1 1 133/133/133/66 0,7(*) 36 1 1 266/133/133/66 0,8(*) 36 1 1 399/133/133/66 0,9(*) 40 1 1 148/148/148/74 0,A(*) 40 1 2 296/148/148/74 0,B(*) 45 1 1 166/166/166/83 0,C(*) 45 1 2 332/166/166/83 0,D 27 2 1 200/200/100/100 0,E 27 2 1.5 300/200/100/100 0,F 27 2 2 400/200/100/100 1,0 32 2 1 236/236/118/59 1,1 36 2 1 266/266/133/66 1,2 40 2 1 295/295/148/74 1,3 45 2 1 332/332/166/83 1,4(A) 27 4 1 398/398/100/100 NOTES * : SDCLK = Memclk/2 forced T/R/M/SD : {Turbo/Run/MemClk/SDCLK} A : Only for Cotulla C0, Dalhart 4. KNOWN PROBLEMS * xdownload may not be functional for large files. * the commands beyond "tftp/ifconfig/fwrite/fearse/go/boot" is not well supported. * Ramdisk is not supported. --------------------------------------------------------------------------- 5. FAQ Q : What does "ARP timeout" indicate? A : It indicates several case, - IP setting is not correct, please check IP setting on HOST(ifconfig) and Blob IP setting(ifconfig) - If you are using "usb-net", be sure to follow the instructions on Preview Kit Release Notes. Q : When using TFTP, I saw "Downloading ...", but it reports "Transfer timeout", what's wrong? A : Please check the HOST firewall setting, it may deny the IP packets from target board. Try "ipchains --flush". Q : When using TFTP, I saw "Downloading ...", but it reports "tftp error, aborted", what's wrong? A : In most cases, it's because the file you are downloading doesn't exists, or you have no permissions. Q : When I use "fwrite/ferase", it failed and reported a error message. A : Please send email with the error message to the contractor for help. Thanks. Q : After I use "tftp" to download image, and burn the image into flash, then type "boot" to boot Linux, but it fails to boot. A : The kernel(zImage) is loaded to RAM when starting up. After you download images, it may over-write the kernel in RAM. You may use "reload kernel" to reload kernel from flash. Q : There are some commands, such as "flash" etc don't work! A : Please use "tftp/ifconfig/fwrite/ferase/go/boot" when possible. The other commands are not well supported. Q : How to configurate Blob IP and server IP? A : Currently, the Server IP is set to 192.168.1.100; the Blob IP is set to 192.168.1.101. - Use "blob> ifconfig" to show the IP setting. - Use "blob> ifconfig ip xx.xx.xx.xx" to set Blob IP; - Use "blob> ifconfig server xx.xx.xx.xx" to set Server IP; --------------------------------------------------------------------------- 6. CHANGELOG [N/A]