• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  General Category / Success stories / Re: Running debian on iomega iconnect on: March 31, 2011, 01:40:51 PM
now wiki for debian on iconnect

http://www.kroonen.eu/wiki
2  General Category / Success stories / Re: Running debian on iomega iconnect on: March 07, 2011, 01:40:06 PM
On my blog I have now more about the iconnect, also working led and network at 100mb. Also compile a kernel howto for the iconnect

http://www.kroonen.eu/blog


3  General Category / Success stories / Running debian on iomega iconnect on: November 07, 2010, 04:48:39 AM
Here a little howto to setup debian on the iomega iconnect

Requirements are an usb stick or disk and a gigabit ehternet connection, and de iconnect.

First you need to get console access on the iomega iconnect.

I used this http://doip.org/iconnect_console to get acccess.

Than grab de usb stick and put fornat it ext2 or fat16

Put the files uImage and uInitrd on it from this site (debian lenny installer)

http://people.debian.org/~tbm/lenny/marvell/openrd/uImage
http://people.debian.org/~tbm/lenny/marvell/openrd/uInitrd

When placed on the usb stick boot the iconnect into u-boot and mount the stich load the uInitrd en Uimage change the parameters to boot the installer

usb start
fatload usb 0:1 0x01100000 /uInitrd
fatload usb 0:1 0x00800000 /uImage

when the usb is ext2 use ex2load

then change the boot parameters

setenv bootargs console=ttyS0,115200 base-installer/initramfs-tools/driver-policy=most mirror/suite=stable apt-setup/local0/repository="http://people.debian.org/~tbm/orion lenny main" apt-setup/local0/key=http://people.debian.org/~tbm/orion/68FD54F
bootm 0x00800000 0x01100000

now the debian installer starts.

The disk partitions should look like this
sda1 ext2 about 200MB
sda2 ext3 rest of disk size - swap
swap 256MB

Thie installer fails on installing the kernel , skip this step and finish the installation

Then when ready, mount the usb stick on a linux machine .

place the sheeva kernel uImage on sda1
the kernelheaders en modules on sda2 and extract it.

No you can connect again the usb stick on the iconnect and change the boot parameters in u-boot

setenv bootargs_console 'console=ttyS0,115200 root=/dev/sda2 rootdelay=10'
setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x00800000 /uImage'
setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_usb;bootm
0x00800000'
saveenv

Now your system is ready to boot. Reboot your iconnect. When logging in the first time do a depmod -a.

If you want your iconnect for wireless, i sugget to replace the minipci express half card, with and atheros 928x , and is supported in the kernel

good luck Richard


 
4  Linux Stuff / Kernel / Re: Script to build cross-compiling toolchain suitable for kernel compile on: October 30, 2010, 05:41:10 AM
Hi,

I want to compile also kernels for the sheevaplug, and the first start is to get this I think? On my debian lenny laptop (x86)

If I run

 ./BuildCodeSourcery-Arm2009Q3-68.sh
./BuildCodeSourcery-Arm2009Q3-68.sh: line 43: arch: command not found

I solved this with

uname -m in file /bin/arch

Now i get error on sed and grep that I have installed on my system

./BuildCodeSourcery-Arm2009Q3-68.sh: line 166: grep: command not found
./BuildCodeSourcery-Arm2009Q3-68.sh: line 166: sed: command not found


regards Richard


5  Linux Stuff / Kernel / Re: 2.6.35.7 new kernel available on: October 23, 2010, 01:08:11 PM
Yes I used the installation of Martins site. And used for installation those instructions

m/debian/kirkwood/openrd/install.html

don't have to change the acrnumber or something. Then use the other instructions.

in the debian installer

Create one boot partition of about 150MB ext2 for /boot (ext3, sda1) . than then the root / (sda2) and a swap

The instalation fails almost at the end, skip this and go to the next step of the installation.

If you have installed everything, mount the /boot and put the kernel you found here and put it in there.

Then tell u-boot to load it, while mentioned above.

Good luck


 


6  Linux Stuff / Kernel / Re: 2.6.35.7 new kernel available on: October 22, 2010, 05:29:46 AM
I think I found something for the led control

I booted antoher Iomega default kernel, and says


i2c /dev entries driver
lm63 0-004c: Alert/tach pin configured for alert output
lm63 0-004c: PWM clock 360 kHz, output frequency 7826 Hz
lm63 0-004c: PWM output active high, manual mode
Registered led device: led_level
Registered led device: power_blue_led
Registered led device: power_red_led
Registered led device: usb_1_led
Registered led device: usb_2_led
Registered led device: usb_3_led
Registered led device: usb_4_led
Registered led device: otb_led


@cbxbiker, will you compile lm63 and i2c into the kernel, for te marvell  what's in the kernel, so I can check it, something
like

mv64xxx_i2c

I think also

                  LED Support for GPIO connected LEDs    (CONFIG_LEDS_GPIO)  (tristate)  (Help)
                              [Platform device bindings for GPIO LEDs    (CONFIG_LEDS_GPIO_PLATFORM)  (bool)  (Help)

and control the  leds in sysfs

              LED Trigger support    (CONFIG_LEDS_TRIGGERS)  (bool)  (Help)

regards Richard


7  Linux Stuff / Kernel / Re: 2.6.35.7 new kernel available on: October 20, 2010, 12:06:11 PM
Here the u-boot stuff when for usb devices, where sda2 is root, when done reboot and you see if it works

issues that I hope to find, are the network,  to get it also on 100mb, and the led control. So if any ideas...


setenv bootargs_console 'console=ttyS0,115200 root=/dev/sda2 rootdelay=10'
setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x00800000 /uImage'
setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_usb;
bootm 0x00800000'
saveenv


regards Richard
8  Linux Stuff / Kernel / Re: 2.6.35.7 new kernel available on: October 02, 2010, 01:57:44 PM
I will later on put it on the wiki,

but I used this site

http://doip.org/iconnect

For installing it only works with 1GB port on your switch/hub.

I replaced the internal wifi that is not supported by kernel drivers (ralink rt3090) with an atheros mini pci half size 9280)

regards Richard





9  Linux Stuff / Kernel / Re: 2.6.35.7 new kernel available on: October 01, 2010, 06:56:04 AM
Thanks for building the support of the atheros wireless (ath9k(

No I modified my Iomega Iconnect, and replaced the wifi (ralink3090) with an atheros 9280, and works

Does anybody how to solve the NIC speed of the iconnect

The problem, it only works at 1000MB, and you can't change it. I think it's a driver issue???

ethtool gives this, I also putted below a dmesg

iconnect:~# ethtool eth0
Settings for eth0:
   Supported ports: [ MII ]
   Supported link modes:   
   Supports auto-negotiation: No
   Advertised link modes:  Not reported
   Advertised auto-negotiation: No
   Speed: 1000Mb/s
   Duplex: Full
   Port: MII
   PHYAD: 0
   Transceiver: internal
   Auto-negotiation: off
   Link detected: yes
 



 

iconnect:~# dmesg
[    0.000000] Linux version 2.6.35.7 (kelly@speedy) (gcc version 4.4.3 (Sourcery G++ Lite er) ) #2 PREEMPT Wed Sep 29 16:46:15 MDT 2010
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell RD-88F6281 Reference Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c054d400, node_mem_map c05fa000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65024 pages, LIFO batch:15
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda2 rootdelay=10
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 253784k/253784k available, 8360k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xd0800000 - 0xfe800000   ( 736 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc002b000   ( 140 kB)
[    0.000000]       .text : 0xc002b000 - 0xc04fd000   (4936 kB)
[    0.000000]       .data : 0xc051e000 - 0xc054e7e0   ( 194 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]    RCU-based detection of stalled CPUs is disabled.
[    0.000000]    Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:114
[    0.000000] Console: colour dummy device 80x30
[    0.000154] Calibrating delay loop... 992.87 BogoMIPS (lpj=4964352)
[    0.240030] pid_max: default: 32768 minimum: 301
[    0.240118] Mount-cache hash table entries: 512
[    0.240456] CPU: Testing write buffer coherency: ok
[    0.243244] NET: Registered protocol family 16
[    0.245707] Kirkwood: MV88F6281-A0, TCLK=200000000.
[    0.245724] Feroceon L2: Enabling L2
[    0.245765] Feroceon L2: Cache support initialised.
[    0.247271] initial MPP regs: 21111111 00003311 33331100 33333333 00000333 00000000 00000000
[    0.247304]   final MPP regs: 21111111 00003311 33331100 33303333 00000333 00000000 00000000
[    0.249481] pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
[    0.249501] pci 0000:00:00.0: reg 18: [mem 0x00000000-0x0fffffff]
[    0.249546] pci 0000:00:00.0: supports D1 D2
[    0.249608] pci 0000:00:01.0: reg 10: [mem 0x40000000-0x4000ffff 64bit]
[    0.249683] pci 0000:00:01.0: supports D1
[    0.249695] pci 0000:00:01.0: PME# supported from D0 D1 D3hot D3cold
[    0.249710] pci 0000:00:01.0: PME# disabled
[    0.249770] PCI: bus0: Fast back to back transfers disabled
[    0.250268] pci 0000:00:01.0: BAR 0: assigned [mem 0xe0000000-0xe000ffff 64bit]
[    0.250296] pci 0000:00:01.0: BAR 0: set to [mem 0xe0000000-0xe000ffff 64bit] (PCI address [0xe0000000-0xe000ffff]
[    0.264661] bio: create slab <bio-0> at 0
[    0.265283] vgaarb: loaded
[    0.265882] SCSI subsystem initialized
[    0.266018] libata version 3.00 loaded.
[    0.266747] usbcore: registered new interface driver usbfs
[    0.267052] usbcore: registered new interface driver hub
[    0.267259] usbcore: registered new device driver usb
[    0.269297] cfg80211: Calling CRDA to update world regulatory domain
[    0.269525] Switching to clocksource orion_clocksource
[    0.286553] NET: Registered protocol family 2
[    0.286789] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.287617] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.287838] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.287967] TCP: Hash tables configured (established 8192 bind 8192)
[    0.287978] TCP reno registered
[    0.287991] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.288019] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.288183] NET: Registered protocol family 1
[    0.288476] RPC: Registered udp transport module.
[    0.288489] RPC: Registered tcp transport module.
[    0.288499] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.288536] PCI: CLS 32 bytes, default 32
[    0.386465] JFFS2 version 2.2. (NAND) 2001-2006 Red Hat, Inc.
[    0.387911] JFS: nTxBlock = 1982, nTxLock = 15861
[    0.388838] msgmni has been set to 495
[    0.392062] alg: No test for stdrng (krng)
[    0.392120] io scheduler noop registered
[    0.392131] io scheduler deadline registered
[    0.392254] io scheduler cfq registered (default)
[    0.400309] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.401337] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    0.779730] console [ttyS0] enabled
[    0.792944] brd: module loaded
[    0.800868] loop: module loaded
[    0.805897] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
[    0.814436] Scanning device for bad blocks
[    0.821090] Bad eraseblock 84 at 0x000000a80000
[    0.880327] Bad eraseblock 1935 at 0x00000f1e0000
[    0.948831] Creating 3 MTD partitions on "orion_nand":
[    0.954016] 0x000000000000-0x000000100000 : "u-boot"
[    0.960488] 0x000000100000-0x000000300000 : "uImage"
[    0.966713] 0x000000300000-0x000020000000 : "root"
[    0.975184] MV-643xx 10/100/1000 ethernet driver version 1.4
[    0.981176] mv643xx_eth smi: probed
[    0.985960] net eth0: port 0 with MAC address 00:d0:b8:0c:a4:b1
[    0.994338] net eth1: port 0 with MAC address 00:50:43:5a:1a:2d
[    1.000547] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.007154] orion-ehci orion-ehci.0: Marvell Orion EHCI
[    1.012520] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[    1.049583] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[    1.069581] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[    1.076299] hub 1-0:1.0: USB hub found
[    1.080112] hub 1-0:1.0: 1 port detected
[    1.084802] Initializing USB Mass Storage driver...
[    1.089964] usbcore: registered new interface driver usb-storage
[    1.096000] USB Mass Storage support registered.
[    1.100816] usbcore: registered new interface driver ums-datafab
[    1.107035] usbcore: registered new interface driver ums-freecom
[    1.113240] usbcore: registered new interface driver ums-jumpshot
[    1.119536] usbcore: registered new interface driver ums-sddr09
[    1.125647] usbcore: registered new interface driver ums-sddr55
[    1.132069] mice: PS/2 mouse device common for all mice
[    1.137965] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[    1.144143] i2c /dev entries driver
[    1.148392] cpuidle: using governor ladder
[    1.153105] cpuidle: using governor menu
[    1.157343] sdhci: Secure Digital Host Controller Interface driver
[    1.163616] sdhci: Copyright(c) Pierre Ossman
[    1.168468] mmc0: mvsdio driver initialized, using GPIO 28 for card detection
[    1.176052] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[    1.182516] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[    1.219612] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    1.259607] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[    1.299606] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[    1.339625] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[    1.350098] usbcore: registered new interface driver hiddev
[    1.355887] usbcore: registered new interface driver usbhid
[    1.361623] usbhid: USB HID core driver
[    1.365483] oprofile: hardware counters not available
[    1.370618] oprofile: using timer interrupt.
[    1.376678] TCP cubic registered
[    1.379985] NET: Registered protocol family 17
[    1.384524] Distributed Switch Architecture driver version 0.1
[    1.391813] eth0[0]: could not detect attached switch
[    1.396894] eth0[0]: couldn't create dsa switch instance (error -22)
[    1.403401] usb 1-1: new high speed USB device using orion-ehci and address 2
[    1.410712] lib80211: common routines for IEEE802.11 drivers
[    1.416400] lib80211_crypt: registered algorithm 'NULL'
[    1.416410] Gating clock of unused units
[    1.416420] before: 0x00dfc3dd
[    1.416428]  after: 0x00cfc1dd
[    1.418251] rtc-mv rtc-mv: setting system clock to 2010-10-01 14:02:56 UTC (1285941776)
[    1.426486] Waiting 10sec before mounting root device...
[    1.560711] hub 1-1:1.0: USB hub found
[    1.564601] hub 1-1:1.0: 4 ports detected
[    1.839745] usb 1-1.3: new high speed USB device using orion-ehci and address 3
[    3.623040] scsi0 : usb-storage 1-1.3:1.0
[    4.622081] scsi 0:0:0:0: Direct-Access     FUJITSU  MHV2080AH        0000 PQ: 0 ANSI: 0
[    4.631549] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    4.637650] sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[    4.647000] sd 0:0:0:0: [sda] Write Protect is off
[    4.651873] sd 0:0:0:0: [sda] Mode Sense: 27 00 00 00
[    4.651886] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.659750] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.665881]  sda: sda1 sda2 sda3
[    5.002874] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    5.009008] sd 0:0:0:0: [sda] Attached SCSI disk
[   11.542822] EXT3-fs: barriers not enabled
[   11.564679] kjournald starting.  Commit interval 5 seconds
[   11.570635] EXT3-fs (sda2): using internal journal
[   11.575476] EXT3-fs (sda2): mounted filesystem with writeback data mode
[   11.582197] VFS: Mounted root (ext3 filesystem) on device 8:2.
[   11.588096] Freeing init memory: 140K
[   18.428359] ath: EEPROM regdomain: 0x65
[   18.428374] ath: EEPROM indicates we should expect a direct regpair map
[   18.428395] ath: Country alpha2 being used: 00
[   18.428404] ath: Regpair used: 0x65
[   18.764500] sata_mv sata_mv.0: version 1.28
[   18.768843] sata_mv sata_mv.0: slots 32 ports 2
[   18.779505] scsi1 : sata_mv
[   18.789657] scsi2 : sata_mv
[   18.793751] ata1: SATA max UDMA/133 irq 21
[   18.797875] ata2: SATA max UDMA/133 irq 21
[   19.036605] phy0: Selected rate control algorithm 'ath9k_rate_control'
[   19.038110] Registered led device: ath9k-phy0::radio
[   19.038229] Registered led device: ath9k-phy0::assoc
[   19.038348] Registered led device: ath9k-phy0::tx
[   19.038449] Registered led device: ath9k-phy0::rx
[   19.038466] phy0: Atheros AR9280 Rev:2 mem=0xd0ae0000, irq=9
[   19.159586] ata1: SATA link down (SStatus 0 SControl F300)
[   19.529582] ata2: SATA link down (SStatus 0 SControl F300)
[   19.579927] udev: renamed network interface wlan0 to wlan1
[   20.869971] Adding 976892k swap on /dev/sda3.  Priority:-1 extents:1 across:976892k
[   21.705911] EXT3-fs (sda2): using internal journal
[   25.563893] eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   30.877384] wlan1: deauthenticating from 00:1f:3f:a4:07:76 by local choice (reason=3)
[   30.906095] wlan1: authenticate with 00:1f:3f:a4:07:76 (try 1)
[   30.908416] wlan1: authenticated
[   30.908492] wlan1: associate with 00:1f:3f:a4:07:76 (try 1)
[   30.914394] wlan1: RX AssocResp from 00:1f:3f:a4:07:76 (capab=0x411 status=0 aid=2)
[   30.914413] wlan1: associated
[   31.887758] NET: Registered protocol family 10
[   42.009560] wlan1: no IPv6 routers present
[   42.189558] eth0: no IPv6 routers present
iconnect:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wlan1     IEEE 802.11abgn  ESSID:"kroonen" 
          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:1F:3F:A4:07:76   
          Bit Rate=54 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=54/70  Signal level=-56 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

iconnect:~# lspci
00:00.0 Memory controller: Marvell Technology Group Ltd. Device 6281 (rev 02)
00:01.0 Network controller: Atheros Communications Inc. Device 002a (rev 01)


Pages: [1]