1 / 12

WEEK 5

WEEK 5. Comet.jc. Review. Make Second Kernel To Use USB-serial port Next ?. Make Second Kernel GPL, using newer kernel. tar -C /opt -zxvf GPL_1927.zip rm -rf /opt /broadcom/src/linux/linux tar -C / opt /broadcom/src/linux -jxvf linux- 2.4.37 .tar.bz2

talen
Download Presentation

WEEK 5

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WEEK 5 Comet.jc

  2. Review • Make Second Kernel • To Use USB-serial port • Next ?

  3. Make Second KernelGPL, using newer kernel • tar -C /opt -zxvf GPL_1927.zip • rm -rf/opt/broadcom/src/linux/linux • tar -C /opt/broadcom/src/linux -jxvf linux-2.4.37.tar.bz2 • ln -sf /opt/broadcom/src/linux/linux-2.4.37 /opt/broadcom/src/linux/linux

  4. Using newer Tool Chain • tar -C /opt/brcm -jxvf hndtools-mipsel-uclibc-4.1.2.tar.bz2 • ln -sf /opt/brcm/hndtools-mipsel-uclibc-4.1.2 /opt/brcm/hndtools-mipsel-uclibc • Remove Old toolchain (option) • rm -rf /opt/broadcom/opt

  5. PATH Setting • Add Toolchain path once for ever • into ~/.profile or ~/.bashrc export PATH=/opt/brcm/hndtools-mipsel-uclibc/bin:$PATH export PATH=/opt/brcm/hndtools-mipsel-linux/bin:$PATH export PATH=/opt/broadcom/tools:$PATH

  6. Oleg - Firmware Patch • Tar -C /opt/broadcom/src -xvf wl500g-1.9.2.7-7g.tgz • cd /opt/broadcom/src/wl500g-1.9.2.7-7g • make kernel && make

  7. Gateway => TRX • cd /opt/broadcom/src/gateway • make && make install • /opt/broadcom/src/gateway/mipsel-uclibc/WL500gp-1.9.2.7-7g.trx

  8. Make Kernel Several Times • modify /opt/broadcom/src/wl500g-1.9.2.7-7g/kernel.config • cd /opt/broadcom/src/wl500g-1.9.2.7-7g • make kernel && make • modify/opt/broadcom/src/linux/linux/Makefile • cd /opt/broadcom/src/gateway • make && make install

  9. 2. To Use USB-serial port • tested with ATEN UC-232A (pl2303.o module) • insmod usbserial.o • insmod pl2303.o • mknod /dev/ttyUSB0 c 188 0 • chmod 666 /dev/ttyUSB0 ATEN UC-232A

  10. Ubuntu 下的超級終端機 GtkTerm • Configuration : Port : /dev/tty/USBx

  11. 3. Next: Using Newer Patch ? • 1.9.2.7-7g (2007-04-06) to 1.9.2.7-10 (2008-03-30) • Changes : • Multicast/IPTV: no longer need routes to be specified • Added new flashfs option: try 'flashfs enabled' to enable flashfs loading forever • ……

  12. Next: Kernel Config • /opt/broadcom/src/linux/linux/.config • /opt/broadcom/src/linux/linux/arch/mips/defconfig-bcm947xx • /opt/broadcom/src/linux/linux/Makefile

More Related