使用者工具

網站工具


other:workspace:8181

Star 8181 簡介

Source Code

Star-8181 Source Code 係由 Star-8133 修改後產生,原始 Code 下載

更改網卡

更改 Flash

kernel 減肥

zImage說明
1758原廠
1753change eth driver to IP1001
1753STR8131 Options→STR8131 Infomation at /proc/str8131/info
1753STR8131 Options→EWC(802.11N) Support
1663Device Drivers→ATA/ATAPI/MFM/RLL support
1663Device Drivers→Character devices→Watchdog Cards→Watchdog Timer Support
1651Device Drivers→I2C support
1630Device Drivers→Sound card support
1572File systems→CD-ROM/DVD Filesystems
1572Bus support
1565Code maturity level options
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
1565File systems→Miscellaneous filesystems→Compressed ROM file system support (cramfs)
1758原廠
1753change eth driver to IP1001
1628Device Drivers→Sound card support
Device Drivers→ATA/ATAPI/MFM/RLL support
Device Drivers→Network device support→Wireless LAN
Device Drivers→I2C support
1570File systems→CD-ROM/DVD Filesystems
1567File system→ MSDOS fs support
1555File systems→Kernel automounter support
File systems→Kernel automounter version 4 support
1472Device Drivers→Network device support→Ethernet (10 or 100Mbit)…拿掉其他
Device Drivers→Network device support→Ethernet (1000 Mbit)…拿掉其他
Device Drivers→Network device support→Ethernet (10000 Mbit)…拿掉其他

file system 減肥

2232原廠
576remove samba
544remove /usr/lib & /usr/locat/samba
397modify busybox=, only keep mount & reboot
389remove /etc/service
384remove
/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
342remove
/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)
340remove busybox
CONFIG_FEATURE_COMPRESS_USAGE & CONFIG_FEATURE_DEVPTS
326remove busybox CONFIG_LOGIN
311remove busybox ASH(only keep ash basic)
123remove all /lib
97remove busybox mount option, only keep mount.
89remove busybox reboot…

H1 標題

說明Filesystem1k-blocks Used Available Use% Mounted on
kernel:2048kfs: /dev/mtdblock3 1728 752 976 44% /
kernel:1600kfs: /dev/mtdblock3 2176 792 1384 36% /
kernel:1625kfs:89k /dev/mtdblock3 2496 292 2204 12% /

Upload Loader

  1. bootp 1000000 <Enter>
  2. 開啟超級終端機 → 轉送 → 轉送檔案 → 通訊協定(設定為)“kermit” → 指定檔案路徑 → 傳送
  3. cp.b 1000000 3000000 $(filesize) <Enter>

To make Flash / DRAM size 4/16 work on STAR 8132 demo board

Steps to upgrade u-boot

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

str8132_4m_32m.pdf

other/workspace/8181.txt · 上一次變更: 2019/11/16 08:12 (外部編輯)