New IT forum
12 August 2022, 02:32:00 pm *
Welcome, %1$s. Please login or register.

: CubieBoard 2 and Cubietruck both now in stock.
 
Pages: [1]

Author Topic: Debian squeeze image supplied from NewIT  (Read 7702 times)

2nice

  • New IT customer
  • Newbie
  • *
  • Posts: 24
  • P.I. with XBMC :-)
Debian squeeze image supplied from NewIT
« on: 19 December 2010, 09:56:03 am »

Hi.

I just convinced my father in law to purchase a sheevaplug from NewIt - now he got it but we're not able to connect to the plug via the route/ethernet.

I managed to get the serial console working - and below is what I see. I told him to order the multiboot sheevaplug with preconfigured debian squeeze image 4gb - bút when I put in the sd card I still end up in the Unbuntu system?

Is there something wrong with the setup below? With out any sd card in the plug we're still not able to connect to the sheevaplug using ethernet.

What is the default "computername" of the ubuntu ? Then I could try pinging that name to see if I can connect.

Any ideas?

Regards, Bo


===========================================================
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Nov  4 2009 - 12:58:36) Marvell version: 3.4.23

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFB00

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
SDHC found. Card desciption is:
Manufacturer:       0x1e, OEM "AB"
Product name:       "SDC  ", revision 1.0
Serial number:      816
Manufacturing date: 8/2010
CRC:                0x00, b0 = 0

2755248 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.34.6
   Created:      2010-08-27   4:04:56 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2755184 Bytes =  2.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.34.6 ([email protected]) (gcc version 4.4.3 (Sourcery G++ Lite er) ) #1 PREEMPT Thu Aug 26 22:04:51 MDT 2010
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell SheevaPlug Reference Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=5
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB 256MB = 512MB total
Memory: 513764k/513764k available, 10524k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xe0800000 - 0xfe800000   ( 480 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc002b000   ( 140 kB)
      .text : 0xc002b000 - 0xc04e8000   (4852 kB)
      .data : 0xc050a000 - 0xc053a120   ( 193 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:114
Console: colour dummy device 80x30
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Kirkwood: MV88F6281-A1, TCLK=200000000.
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
JFS: nTxBlock = 4013, nTxLock = 32110
msgmni has been set to 1003
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 3 MTD partitions on "orion_nand":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000500000 : "uImage"
0x000000500000-0x000020000000 : "root"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address f0:ad:4e:00:04:88
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
mice: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SDHC card at address b368
mmcblk0: mmc0:b368 SDC   3.74 GiB
 mmcblk0: p1 p2
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
rtc-mv rtc-mv: setting system clock to 2010-12-19 09:49:07 UTC (1292752147)
Waiting 5sec before mounting root device...
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
Freeing init memory: 140K
 * Filesystem type 'fusectl' is not supported. Skipping mount.
 * Setting preliminary keymap...                                         [ OK ]
 * Starting kernel event manager...                                      [ OK ]
 * Loading hardware drivers...                                           [ OK ]
 * Loading kernel modules...                                                     * Loading manual drivers...                                             [ OK ]
 * Setting kernel variables (/etc/sysctl.conf)...                        [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)...  [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-network-security.conf)...  [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-process-security.conf)...  [ OK ]
 * Activating swap...                                                    [ OK ]
 * Starting early crypto disks...                                        [ OK ]
 * Starting remaining crypto disks...                                    [ OK ]
 * Checking file systems...                                                     fsck 1.41.4 (27-Jan-2009)
                                                                         [ OK ]
 * Mounting local filesystems...                                         [ OK ]
 * Activating swapfile swap...                                           [ OK ]
 * Configuring network interfaces...                                     [ OK ]
 * Setting up console font and keymap...                                 [ OK ]
 * Starting system log daemon...                                         [ OK ]
                                                                                * Starting kernel log daemon...                                          [ OK ]
                                                                                * Starting OpenBSD Secure Shell server sshd
Ubuntu 9.04 ubuntu ttyS0

ubuntu login:                                                            [ OK ]
                                                                                * Starting periodic command scheduler crond                              [ OK ]
                                                                                * Restarting OpenBSD Secure Shell server sshd

Ubuntu 9.04 ubuntu ttyS0

ubuntu login:
Logged

2nice

  • New IT customer
  • Newbie
  • *
  • Posts: 24
  • P.I. with XBMC :-)
Re: Debian squeeze image supplied from NewIT
« Reply #1 on: 19 December 2010, 10:17:38 am »

Hi Again.
I just figured out how to connect to the internal Ubuntu system - via the ip command.
So now I can connect via ethernet/router - but still I'm wondering if I got the multiboot sheeva and why cannot see the file system on the sd card.

/Bo
Logged

peter a

  • Full Member
  • ***
  • Posts: 162
Re: Debian squeeze image supplied from NewIT
« Reply #2 on: 19 December 2010, 10:45:13 am »

Hi , I have a white multiboot plug too.

All it does is in uboot :-

bootcmd=run bootcmd_mmc; run bootcmd_nand

Which tries to boot from MMC ( the sd card ) , then if it can`t use nand as the backup .

Do a printenv in Uboot and check the bootcmd line to see what it`s booting !!!

If it is setup to multiboot then it having problems with the sd card , ME !!!! , I think it`s not been made to multiboot.
Logged

2nice

  • New IT customer
  • Newbie
  • *
  • Posts: 24
  • P.I. with XBMC :-)
Re: Debian squeeze image supplied from NewIT
« Reply #3 on: 19 December 2010, 11:16:02 am »

Hi Peter.
Thanks for the reply.
This is a copy of my env:
there is no bootcmd? Does this mean that I got a sheevaplug without multiboot? If so, can I set up to multiboot?
/Bo

[email protected]:~# printenv
TERM=xterm
SHELL=/bin/bash
SSH_CLIENT=192.168.1.8 50393 22
SSH_TTY=/dev/pts/0
USER=root
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
MAIL=/var/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/root
SHLVL=1
HOME=/root
LOGNAME=root
SSH_CONNECTION=192.168.1.8 50393 192.168.1.39 22
LESSOPEN=| /usr/bin/lesspipe %s
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/bin/printenv
Logged

2nice

  • New IT customer
  • Newbie
  • *
  • Posts: 24
  • P.I. with XBMC :-)
Re: Debian squeeze image supplied from NewIT SOLVED!
« Reply #4 on: 19 December 2010, 12:44:20 pm »

Hi again.

The SD Card image was corrupted in some way - I downloadede the squeezeserver image - and volia sheevaplug booted on the sd card.
Everything is fine now - and I learned how to connect via the serial console :-)

Thanks,
 :)
Bo.
Logged

NewIT_Marcus

  • Hero Member
  • *****
  • Posts: 960
Re: Debian squeeze image supplied from NewIT
« Reply #5 on: 19 December 2010, 08:28:51 pm »

Your first post shows a Sheevaplug booting from a 4G SD card to an Ubuntu system.

Under both Ubuntu and Debian, the normal method for obtaining an IP address is using DHCP. Of course you need to have a local DHCP server. If no address is obtained from a DHCP server, one is allocated from a private range. (I can't remember offhand what range).

It looks as though you may have been supplied an incorrect card, for which I apologise, but that doesn't explain why you couldn't connect (unless you don't have a DHCP server). Glad you have it sorted out now, anyway.
Logged

2nice

  • New IT customer
  • Newbie
  • *
  • Posts: 24
  • P.I. with XBMC :-)
Re: Debian squeeze image supplied from NewIT
« Reply #6 on: 21 December 2010, 08:20:33 am »

Hi Marcus.

Thanks for the reply.

My problem was that I'm not able to see the DHCP lease in my father in laws router (it's a locked down version) so we were 'pinging' around in the usual range 192.168.x.x - but we never hit anything. The Ubuntu was there running fine all the time I found out via the serial console :-)

Still - I'm not sure he ordered the correct SD Card - but I wanted to put on a squeezebox image on it anyway - so no harm done...

/Bo
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!