• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / Kernel / Re: Native kernel compile? on: April 17, 2010, 08:43:12 PM
Gene noticed when minicom is connected through a ProLific 2303 usb2serial cable with a null modem adapter to another device, minicom appears "disconnected", or "not connected".

That's because the minicom program was designed to work with modems and monitors rs-232 lines that indicate connection state.

In our case we were connected to an old switch and the switch or the null modem adapter did not support those signals.

No big deal, just hit the keyboard a couple times and the device on the other side responds.. even though minicom continues to report there is no connection on its status bar at the bottom of the screen.

- JoWi
2  Hardware and U-Boot firmware / Hardware / USB2Ethernet Adapter - TrendNet TU-ET100C - confirmed to work on: April 17, 2010, 08:24:36 PM

Consider this another device confirmed to work with the Sheeva Plug v1.0

The details on how to unpack and setup the kernel source provided on the CD rom are explained here http://plugcomputer.org/plugforum/index.php?topic=515.0

I picked up a TrendNet TU-ET100C adapter today and went to the unpacked kernel source on the plug then executed:

make config

* USB Network Adapters
USB Pegasus/Pegasus-II based ethernet device support (USB_PEGASUS) [N/m/y/?] m
Multi-purpose USB Networking Framework (USB_USBNET) [N/m/y/?] m

make modules
make modules_install


Plugged in the adapter and # tail /var/log/messages reports:

usb 1-1: new full speed USB device using ehci_marvell and address 2
usb 1-1: configuration #1 chosen from 1 choice
pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
pegasus 1-1:1.0: setup Pegasus II specific registers
pegasus 1-1:1.0: eth2, ADMtek ADM8511 "Pegasus II" USB Ethernet, 00:14:d1:1b:d8:38
usbcore: registered new interface driver pegasus

# vi /ec/network/interfaces

auto eth2
iface eth2 inet static

# ifup eth2

# ifconfig

eth2      Link encap:Ethernet  HWaddr 00:14:d1:1b:d8:38
          inet addr:  Bcast:  Mask:
          RX packets:185 errors:0 dropped:0 overruns:0 frame:0
          TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:34404 (34.4 KB)  TX bytes:16215 (16.2 KB)

Putty to

login as: root
root@'s password:
Linux debian #1 Thu Mar 19 14:46:22 IST 2009 armv5tejl
Last login: Sun Apr 18 03:09:41 2010 from

if you copy just the kernel module to another plug

mkdir -p /lib/modules/

also be sure to run the depmod -a command while in


the link light on the adapter doesn't light up unless there is a link when attached to the plug.. this is in contrast to when the adapter is attached to a Windows XP machine, the link light on the adapter lights up even when there is no link.

- JoWi

3  Linux Stuff / Kernel / Re: Native kernel compile? on: February 02, 2010, 11:21:14 PM

this will probably get dated fairly quickly

a method to build and install kernel modules on the SheevaPlug as it comes from the factory



mkdir -p /var/cache/apt/archives/partial

apt-get update

apt-get install build-essential libncurses5-dev

get SheevaPlug_LSP.zip from the CD ROM


winscp the linux- to the /root directory

bunzip2 linux-

tar -xvf linux-

rm linux-

mv linux- linux-feroceon_4_2_7_KW

apt-get install ntpdate

vi /etc/resolv.conf

ntpdate -s ntp3.tamu.edu

apt-get install make

apt-get remove gcc-4.3

apt-get purge gcc-4.3

apt-get install gcc-4.2

cd /usr/bin

rm cc gcc c++ g++
ln -s gcc-4.2 cc
ln -s gcc-4.2 gcc
ln -s c++-4.2 c++
ln -s g++-4.2 g++

cd /root/linux-feroceon_4_2_7_KW

vi Makefile

comment out #CROSS_COMPILE=arm-none-linux-gnueabi-

make mrproper

make mv88f6281_defconfig

make modules <- takes a long time to compile on the Plug but its "native"

make modules_install <- this moves modules to -> /lib/modules/

to add a usb2serial device like Prolific 2303 to the Plug we need to build a set of kernel modules
and configure the kernel config to compile them, make menuconfig does not work, so we punt
and run the line by line config program

make config

* USB port drivers
* USB Serial Converter support
USB Serial Converter support (USB_SERIAL) [N/m/y/?] m
  USB Prolific 2303 Single Port Serial Driver (USB_SERIAL_PL2303) [N/m/?] (NEW) m

make modules

make modules_install

  INSTALL drivers/usb/serial/pl2303.ko
  INSTALL drivers/usb/serial/usbserial.ko

insert a usb2serial device

tail /var/log/messages

Feb  3 05:45:21 debian kernel: usb 1-1: new full speed USB device using ehci_marvell and address 5
Feb  3 05:45:21 debian kernel: usb 1-1: configuration #1 chosen from 1 choice
Feb  3 05:45:21 debian kernel: pl2303 1-1:1.0: pl2303 converter detected
Feb  3 05:45:21 debian kernel: usb 1-1: pl2303 converter now attached to ttyUSB0

apt-get install minicom

vi /etc/minicom/minirc.dfl

pu port             /dev/ttyUSB0
pu baudrate         9600
pu minit
pu mreset
pu mdialpre
pu mdialsuf
pu mdialpre2
pu mdialsuf2
pu mdialpre3
pu mdialsuf3
pu mconnect
pu mnocon1
pu mnocon2
pu mnocon3
pu mnocon4
pu mhangup
pu mdialcan
pu hasdcd           No
pu rtscts           No

attach a serial device to the usb2serial adapter to talk to

i used a cisco 1700 router


type return a couple of times to get a prompt from the router

CTRL+A X to quit minicom


- JoWi
Pages: [1]