======compiler path======= PATH=$PATH:/opt/montavista/pro/devkit/arm/xscale_le/bin cd /home/foo/kernel/linux-2.4.20 PATH=$PATH:/usr/local/arm-linux/bin cd /home/austin/lubbock/kernel/sbc cd /home/austin/lubbock/kernel/linux-2.4.20 ======kernel parameter======= root=/dev/mtdblock2 console=ttyS0,115200 ip=192.168.100.21:::255.255.255.0:guest3::off console=ttyS0,115200 ip=dhcp root=/dev/nfs rw nfsroot=192.168.100.25:/tftpboot/pxa255 ip=192.168.100.21:::255.255.255.0:guest3::off CONFIG_CMDLINE="root=/dev/mtdblock2 console=ttyS0,115200 ip=192.168.100.21:::255.255.255.0:guest3::off " CONFIG_CMDLINE="console=ttyS0,115200 ip=dhcp root=/dev/nfs rw nfsroot=192.168.100.25:/tftpboot/pxa255" console=/dev/tty1 ip=dhcp root=/dev/nfs rw nfsroot=192.168.100.25:/tftpboot/pxa255 console=ttyS0,115200 ip=192.168.100.21:::255.255.255.0:guest3::off root=/dev/nfs nfsroot=192.168.100.25:/tftpboot/pxa255 ====== NFS======= /etc/init.d/nfs start minicom /etc/init.d/nfs stop /etc/init.d/nfs restart ./setserial -agv /dev/ttyS5 ======U-BOOT======= /* Kernel */ tftp 0xa0008000 zImage go 0xa0008000 /* tftp server*/ setenv serverip 192.168.100.16 /* boot loader */ tftp 0xa0008000 u-boot.bin protect off 1:0 erase 1:0 cp.b a0008000 00000000 40000 protect on 1:0 /* kernel Image */ tftp 0xa0008000 ulinux protect off 1:1-4 erase 1:1-4 cp.b a0008000 00040000 100000 protect on 1:0-4 /* RootFS */ tftp 0xa0008000 lubbock_PXA255_QTE_16M.jffs2 tftp 0xa0008000 rootfs2.jffs2 tftp 0xa0008000 lubbock_PXA260_QTE_16M.jffs2 tftp 0xa0000000 rootfs.jiffs2 protect off 1:5-82 erase 1:5-82 cp.b a0000000 140000 1100000 protect on 1:5-82 ======PCMCIA======= cardctl status cardctl ident cardmgr ======mount file system======= mount -t usbfs none /proc/bus/usb mount -t mmcfs none /proc/mmc mount -t jffs2 /dev/mtdblock3 /mnt mkefs.ext2 /dev/mtdblock4 smbclient -L Nb-austin mount -t smbfs "//Nb-austin/cd" /mnt/nbcd mount -o loop -t ext2 ./root.ext2 /tftpboot/temp mount -o loop -t jffs2 ./root.jffs2 /tftpboot/temp ======make jffs2 filesystem======= ./mkfs.jffs2 -r ./pxa255 -o rootfs.jffs2 -e 0x40000 --pad=0x01200000 ./mkfs.jffs2 -r tools -o tools.jffs2 -e ./mkfs.jffs2 -r /tftpboot/pxa255 -o rootfs.jffs2 -e 0x40000 --pad=0x01000000 ./mkfs.jffs2 -r ./source -o rootfs.jffs2 -e 0x40000 ======RPM ======= rpm --root /tftpboot/pxa255 -Uvh --force --nodeps --ignorearch --noscripts ======make parameter======= ./configure --build=i386-linux --host=arm-unknown-linux --target=arm-unknown-linux CC=arm-linux-gcc CPP=arm-linux-cpp CXX=arm-linux-g++ CXXCPP=arm-linux-cpp --includedir=/usr/local/arm/3.0/arm-linux/include --libdir=/usr/local/arm/3.0/arm-linux/lib ======TinyX======= PATH=$PATH:/usr/X11R6/bin PATH=$PATH:/usr/X11R6/lib PATH=$PATH:/home/microwindows/src make World >& world.log make DESTDIR=/tftpboot/pxa255sas install >& install.log make DESTDIR=/tftpboot/pxa255 install PATH=$PATH:/usr/X11R6/bin make >& /mnt/world.log make install >& install.log ======devrocket======= /opt/montavista/common/eclipse/devrocket ======make kernel parameter======= make clean dep zImage modules modules_install ======SRAM======= mkfs.ext3 /dev/ram0 mount /dev/ram0 /mnt ======SRAM======= /tftpboot/pxa255/lib/modules/2.4.20 /etc/init.d/nfs stop umount /tftpboot/pxa255 ./mkfs.jffs2 -r /tftpboot/temp -o rootfs.jiffs2 -e 0x40000 --pad=0x01000000 ======FLASH======= 00000000 (R000) 00040000 (R001) 00080000 (R002) 000C0000 (R003) 00100000 (R004) 00140000 (R005) 00180000 (R006) 001C0000 (R007) 00200000 (R008) 00240000 (R009) 00280000 (R010) 002C0000 (R011) 00300000 (R012) 00340000 (R013) 00380000 (R014) 003C0000 (R015) 00400000 (R016) 00440000 (R017) 00480000 (R018) 004C0000 (R019) 00500000 (R02O) 00540000 (R021) 00580000 (R022) 005C0000 (R023) 00600000 (R024) 00640000 (R025) 00680000 (R026) 006C0000 (R027) 00700000 (R028) 00740000 (R029) 00780000 (R030) 007C0000 (R031) 00800000 (R032) 00840000 (R033) 00880000 (R034) 008C0000 (R035) 00900000 (R036) 00940000 (R037) 00980000 (R038) 009C0000 (R039) 00A00000 (R040) 00A40000 (R041) 00A80000 (R042) 00AC0000 (R043) 00B00000 (R044) 00B40000 (R045) 00B80000 (R046) 00BC0000 (R047) 00C00000 (R048) 00C40000 (R049) 00C80000 (R050) 00CC0000 (R051) 00D00000 (R052) 00D40000 (R053) 00D80000 (R054) 00DC0000 (R055) 00E00000 (R056) 00E40000 (R057) 00E80000 (R058) 00EC0000 (R059) 00F00000 (R060) 00F40000 (R061) 00F80000 (R062) 00FC0000 (R063) 01000000 (R064) 01040000 (R065) 01080000 (R066) 010C0000 (R067) 01100000 (R068) 01140000 (R069) 01180000 (R070) 011C0000 (R071) 01200000 (R072) 01240000 (R073) 01280000 (R074) 012C0000 (R075) 01300000 (R076) 01340000 (R077) 01380000 (R078) 013C0000 (R079) 01400000 (R080) 01440000 (R081) 01480000 (R082) 014C0000 (R083) 01500000 (R084) 01540000 (R085) 01580000 (R086) 015C0000 (R087) 01600000 (R088) 01640000 (R089) 01680000 (R090) 016C0000 (R091) 01700000 (R092) 01740000 (R093) 01780000 (R094) 017C0000 (R095) 01800000 (R096) 01840000 (R097) 01880000 (R098) 018C0000 (R099) 01900000 (R100) 01940000 (R101) 01980000 (R102) 019C0000 (R103) 01A00000 (R104) 01A40000 (R105) 01A80000 (R106) 01AC0000 (R107) 01B00000 (R108) 01B40000 (R109) 01B80000 (R110) 01BC0000 (R111) 01C00000 (R112) 01C40000 (R113) 01C80000 (R114) 01CC0000 (R115) 01D00000 (R116) 01D40000 (R117) 01D80000 (R118) 01DC0000 (R119) 01E00000 (R120) 01E40000 (R121) 01E80000 (R122) 01EC0000 (R123) 01F00000 (R124) 01F40000 (R125) 01F80000 (R126) 01FC0000 (R127)