Star-8181 Source Code 係由 Star-8133 修改後產生,原始 Code 下載。
zImage | 說明 |
1758 | 原廠 |
1753 | change eth driver to IP1001 |
1753 | STR8131 Options→STR8131 Infomation at /proc/str8131/info |
1753 | STR8131 Options→EWC(802.11N) Support |
1663 | Device Drivers→ATA/ATAPI/MFM/RLL support |
1663 | Device Drivers→Character devices→Watchdog Cards→Watchdog Timer Support |
1651 | Device Drivers→I2C support |
1630 | Device Drivers→Sound card support |
1572 | File systems→CD-ROM/DVD Filesystems |
1572 | Bus support |
1565 | Code maturity level options Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) |
1565 | File systems→Miscellaneous filesystems→Compressed ROM file system support (cramfs) |
1758 | 原廠 |
1753 | change eth driver to IP1001 |
1628 | Device Drivers→Sound card support Device Drivers→ATA/ATAPI/MFM/RLL support Device Drivers→Network device support→Wireless LAN Device Drivers→I2C support |
1570 | File systems→CD-ROM/DVD Filesystems |
1567 | File system→ MSDOS fs support |
1555 | File systems→Kernel automounter support File systems→Kernel automounter version 4 support |
1472 | Device Drivers→Network device support→Ethernet (10 or 100Mbit)…拿掉其他 Device Drivers→Network device support→Ethernet (1000 Mbit)…拿掉其他 Device Drivers→Network device support→Ethernet (10000 Mbit)…拿掉其他 |
2232 | 原廠 |
576 | remove samba |
544 | remove /usr/lib & /usr/locat/samba |
397 | modify busybox=, only keep mount & reboot |
389 | remove /etc/service |
384 | remove /etc/init.d/smb /etc/host.conf /etc/init.d /etc/issue /etc/nsswitch.conf /etc/rcS /etc/securetty /etc/services /etc/version /etc/vsftpd.conf |
342 | remove /lib/ld-uClibc-0.9.28.so /lib/ld-uClibc.so.0 → ld-uClibc-0.9.28.so /lib/libuClibc-0.9.28.so /lib/libc.so → libc.so.0 /lib/libc.so.0 → libuClibc-0.9.28.so and add busybox Build Options → Build BusyBox as a static binary (no shared libs) |
340 | remove busybox CONFIG_FEATURE_COMPRESS_USAGE & CONFIG_FEATURE_DEVPTS |
326 | remove busybox CONFIG_LOGIN |
311 | remove busybox ASH(only keep ash basic) |
123 | remove all /lib |
97 | remove busybox mount option, only keep mount. |
89 | remove busybox reboot… |
說明 | Filesystem | 1k-blocks | Used | Available | Use% | Mounted on | |
kernel:2048k | fs: | /dev/mtdblock3 | 1728 | 752 | 976 | 44% | / |
kernel:1600k | fs: | /dev/mtdblock3 | 2176 | 792 | 1384 | 36% | / |
kernel:1625k | fs:89k | /dev/mtdblock3 | 2496 | 292 | 2204 | 12% | / |
1. Untar STAR8100-LSDK-6.7.2.tar.bz2
2. Untar u-boot-1.1.4-20080108.tar.bz2 in
$(LSDK_TOPDIR)/boot
3. Setting toolchain environment
# export PATH=$(LSDK_TOPDIR)/tools/arm-uclibc-3.4.6/bin:$PATH
4. $(UBOOT_TOPDIR)/include/configs/star_equuleus_8132.h
# define PHYS_FLASH_SIZE 0x00800000
—> #define PHYS_FLASH_SIZE 0x00400000
5. Use the following command to make u-boot binary.
# cd $(UBOOT_TOPDIR)
# ./mkuboot.sh equuleus 8132
(It will generate u-boot.equuleus.8132.bin in /opt/star/outout)
6. Use Windows Hyper Terminal to upload u-boot.equuleus.8132.bin
Star Equuleus # loadb 0x100000 <Enter>
(Using kermit protocol to transfer uboot binary, after transmitting, the screen
will display $(file_size) )
—————————————————————————————————————-
• ## Ready for binary (kermit) download to 0x00100000 at 38400 bps…
• ## Total Size = 0x0001a368 = 107368 Bytes
• ## Start Addr = 0x00100000
—————————————————————————————————————-
*Note: Do not use Procomm Plus Hyper Terminal Software to do this operation
7. Write the uboot binary into flash
Star Equuleus # protect off all <Enter>
Star Equuleus # cp.b 0x100000 0x30000000 0x1a368
8. Change boot command
Star Equuleus # setenv bootcmd go 0xc0000 <Enter>
Star Equuleus # saveenv <Enter>
9. Reset
Star Equuleus # reset