• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2 3 ... 10
1  General Category / General Discussion / Re: Boot Sheevaplug from Sdcard or NAND on: January 31, 2014, 12:53:04 PM
Yes, you have to configure uboot accordingly. You will have to search and read sone the older threads
2  Hardware and U-Boot firmware / U-Boot stuff / Re: SheevaPlug: no boot from SDHC after u-boot upgrade to DENX 2012.04.01-2 on: January 17, 2014, 01:30:11 PM
No, I don't think so:
Code:
U-Boot 2013.10 (Oct 21 2013 - 21:06:56)
Marvell-Sheevaplug - eSATA - SD/MMC

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
Marvell>> version

U-Boot 2013.10 (Oct 21 2013 - 21:06:56)
Marvell-Sheevaplug - eSATA - SD/MMC
gcc (Debian 4.8.1-9) 4.8.1
GNU ld (GNU Binutils for Debian) 2.23.52.20130727

Marvell>> help
?       - alias for 'help'
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
chpart  - change active partition
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
dhcp    - boot image via network using DHCP/TFTP protocol
diskboot- boot from IDE device
echo    - echo args to console
editenv - edit environment variable
env     - environment handling commands
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fsinfo  - print information about filesystems
fsload  - load binary file from a filesystem image
go      - start application at address 'addr'
help    - print command description/usage
ide     - IDE sub-system
iminfo  - print header information for application image
imxtract- extract a part of a multi-image
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
ls      - list files in a directory (default /)
md      - memory display
mii     - MII utility commands
mm      - memory modify (auto-incrementing address)
mmc     - MMC sub-system
mtdparts- define flash/nand partitions
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
sleep   - delay execution for some time
source  - run script from memory
tftpboot- boot image via network using TFTP protocol
ubi     - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
3  Hardware and U-Boot firmware / U-Boot stuff / Re: SheevaPlug: no boot from SDHC after u-boot upgrade to DENX 2012.04.01-2 on: January 16, 2014, 06:56:31 AM
I think I haven't seen it been mentioned somewhere else in this forum, yet so let me make the following hint:

I recently noticed that Michael updated his u-boot binaries repository at http://people.debian.org/~tbm/u-boot/ with a newer version which is called 2013.10-2 from 02-Nov-2013.

I upgraded both my SheevaPlugs (prod and spare) a few days ago and I noticed no issues since then. Even with having the system on the 4 GB MicroSD, which, when plugged in instead of another 4 GB 'big' SD, usually now and then loses the USB attached 2 TB HDD (http://www.plugcomputer.org/plugforum/index.php?topic=6113.0).
4  General Category / General Discussion / Re: Starting Again from Scratch with my Sheevaplug on: August 27, 2013, 03:03:39 AM
If you want to install/run Wheezy from scratch I recommend to have a look at Martin Michlmayr's instructions starting with an u-boot update/upgrade http://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade/. After this continue with the Wheezy installation described at http://www.cyrius.com/debian/kirkwood/sheevaplug/install/.

BTW: Does sb have an actual DENX u-boot version which works for the standard SheevaPlug? I tried to compile my own version, but the standard DENX has no SD card support!? And I got stuck in trying to apply some Marvel patches to the DENX version.
5  Hardware and U-Boot firmware / U-Boot stuff / Re: SheevaPlug: no boot from SDHC after u-boot upgrade to DENX 2012.04.01-2 on: August 03, 2013, 03:35:29 AM
No succes in applying patch "0001-Sheevaplug-board-powerplug-v2013-04-refresh.patch" to the 2013-04 version neither :-(
6  Hardware and U-Boot firmware / U-Boot stuff / Re: SheevaPlug: no boot from SDHC after u-boot upgrade to DENX 2012.04.01-2 on: August 03, 2013, 02:53:11 AM
OK, flashed my compiled DENX 2013-07 version to my SheevaPlug and it started, but it could not boot the Debian image from the SD card, as it has no MMC support!? (complains about the mmc command in my environment variables)

So I tried to apply the patch "0001-Sheevaplug-board-powerplug-v2013-04-refresh.patch" to the 2013-07.  As the dry patch run IMO gave no errors I went ahead, but I flashed the newly compiled uboot version to the plug, it didn't start and I had to unbrick it :-(

So back at square one.
7  Hardware and U-Boot firmware / U-Boot stuff / Trying to build my own u-boot DENX 2013-07 on: July 30, 2013, 09:55:38 AM
As I still have strange SHDC and USB-Drive behaviors, and as I lately purchased a USB3.0 Seagate Backup Plus Desktop 4TB, which I can only connect as a single device via an USB2.0 hub

I decided to try to build my own u-boot.

I found the following page https://doukki.net/doku.php?id=wiki:tutoriels:uboot.howto with instructions, however it leaves me with a question.

i) do I still have to apply any patches to the DENX 2013-07 version for my SheevaPlug (no eSATA)?

After compiling my plain vanilla version it gave me the following output

Code:
root@Share:/mnt/sda1/dev/u-boot-2013.07# make mrproper
root@Share:/mnt/sda1/dev/u-boot-2013.07# make sheevaplug_config
root@Share:/mnt/sda1/dev/u-boot-2013.07# make u-boot.kwb
[...]
Preparing kirkwood boot image to boot from nand
Nand ECC mode = default
Nand page size = 0x800
Image Type:   Kirkwood Boot from NAND Flash Image
Data Size:    379684 Bytes = 370.79 kB = 0.36 MB
Load Address: 00600000
Entry Point:  00600000
root@Share:/mnt/sda1/dev/u-boot-2013.07#

Are the any better pre-compiled u-boot images?
8  General Category / General Discussion / Re: plug wireless on same subnet as router on: July 30, 2013, 09:39:07 AM
Hm, in the beginning you said "My ISP router/wireless serves 192.168.1.X addresses."
So why would you set up a second device (your plug) with (another) dnsmasq?
When your plug is set up as a bridge between its eth and wlan interface, your Wifi clients' DHCP requests should traverse your plug and get an IP from your ISP router, as they can see it directly on layer2?
9  General Category / General Discussion / Re: plug wireless on same subnet as router on: July 26, 2013, 07:26:24 AM
Why did you give your eth0 and br0 interface the same IP address?

Shouldn't the /etc/network/interfaces config look like

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

auto lo br0
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet manual

allow-hotplug uap0
iface uap0 inet manual


# Bridge setup

# for dhcp address
#iface br0 inet dhcp
# bridge_ports eth0 uap0

# for static ip
iface br0 inet static
bridge_ports eth0 uap0
# adapt with your network settings
address 192.168.1.4
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
10  Linux Stuff / Linux distributions / Re: [Debian SheevaPlug] smbd panic after upgrade from Squeeze to Wheezy on: July 22, 2013, 08:41:55 AM
! HELP ! Is nobody around who can help me with this issue?

I just tried to perform a clean install, but problem persists:

sudo apt-get purge samba
[...]
sudo apt-get install samba swat
[...]
Unpacking samba (from .../samba_2%3a3.6.6-6_armel.deb) ...
Selecting previously unselected package swat.
Unpacking swat (from .../swat_2%3a3.6.6-6_armel.deb) ...
Processing triggers for man-db ...
Setting up samba (2:3.6.6-6) ...
Generating /etc/default/samba...
update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode
[ ok ] Starting Samba daemons: nmbd smbd.
Setting up swat (2:3.6.6-6) ...
root@Sheeva:~# /etc/init.d/samba stop
[....] Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to kill 4249: No such process
. ok
root@Sheeva:/var/log/samba# cat log.smbd
[2013/07/22 17:17:12,  0] smbd/server.c:1053(main)
  smbd version 3.6.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2013/07/22 17:17:12.565908,  0] lib/fault.c:47(fault_report)
  ===============================================================
[2013/07/22 17:17:12.566320,  0] lib/fault.c:48(fault_report)
  INTERNAL ERROR: Signal 7 in pid 4249 (3.6.6)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2013/07/22 17:17:12.566613,  0] lib/fault.c:50(fault_report)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2013/07/22 17:17:12.566872,  0] lib/fault.c:51(fault_report)
  ===============================================================
[2013/07/22 17:17:12.567062,  0] lib/util.c:1117(smb_panic)
  PANIC (pid 4249): internal error
[2013/07/22 17:17:12.567847,  0] lib/util.c:1221(log_stack_trace)
  BACKTRACE: 0 stack frames:
[2013/07/22 17:17:12.568130,  0] lib/util.c:1122(smb_panic)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 4249]
[2013/07/22 17:17:17.737940,  0] lib/util.c:1130(smb_panic)
  smb_panic(): action returned status 0
[2013/07/22 17:17:17.738319,  0] lib/fault.c:372(dump_core)
  dumping core in /var/log/samba/cores/smbd
[/color]

Would it help to send the core to someone somewhere?
11  General Category / General Discussion / Re: plug wireless on same subnet as router on: July 16, 2013, 08:01:02 AM
You have to bridge between your plug's eth and wlan interface.

e.g. see examples here http://forum.doozan.com/read.php?2,6300 or https://agentoss.wordpress.com/2011/10/31/creating-a-wireless-access-point-with-debian-linux/
12  Linux Stuff / Linux distributions / Re: [Debian SheevaPlug] smbd panic after upgrade from Squeeze to Wheezy on: May 29, 2013, 03:28:30 AM
As I can't believe that nobody else did an upgrade Squeeze to Wheezy and obviously re missing feedback did not run into the smbd issue, may I ask you to share your upgrade procedure with us, please!?
13  Linux Stuff / Linux distributions / [Debian SheevaPlug] smbd panic after upgrade from Squeeze to Wheezy on: May 11, 2013, 03:44:25 AM
@ll,

I tried to upgrade my SheevaPlug from Squeeze to Wheezy (using this German Guide http://www.sysadminslife.com/linux/howto-upgrade-debian-6-squeeze-zu-debian-7-wheezy/).

Mostly everything looked promising after the first reboot, except smbd 3.6.6 which crashed and does not come up. (see syslog messages in red below).

As testparm gave a warning about "null passwords = Yes" I disabled this, but smbd won't start (nmbd and winbindd do).

I ran out of ideas and thinking it might be a bug I tried to compile and use version 3.6.15 (following this guide http://verahill.blogspot.de/2012/03/building-and-installing-samba-from.html), but being a Unix n00b I couldn't properly fix the path settings.

I'd appreciate hints ...

May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.289649,  0] lib/fault.c:47(fault_report)
May  9 17:06:45 Share smbd[2430]:   ===============================================================
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.295058,  0] lib/fault.c:48(fault_report)
May  9 17:06:45 Share smbd[2430]:   INTERNAL ERROR: Signal 7 in pid 2430 (3.6.6)
May  9 17:06:45 Share smbd[2430]:   Please read the Trouble-Shooting section of the Samba3-HOWTO
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.296434,  0] lib/fault.c:50(fault_report)
May  9 17:06:45 Share smbd[2430]:
May  9 17:06:45 Share smbd[2430]:   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.297702,  0] lib/fault.c:51(fault_report)
May  9 17:06:45 Share smbd[2430]:   ===============================================================
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.298565,  0] lib/util.c:1117(smb_panic)
May  9 17:06:45 Share smbd[2430]:   PANIC (pid 2430): internal error
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.300102,  0] lib/util.c:1221(log_stack_trace)
May  9 17:06:45 Share smbd[2430]:   BACKTRACE: 0 stack frames:
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.302107,  0] lib/util.c:1122(smb_panic)
May  9 17:06:45 Share smbd[2430]:   smb_panic(): calling panic action [/usr/share/samba/panic-action 2430]
May  9 17:06:53 Share smbd[2430]: [2013/05/09 17:06:53.908783,  0] lib/util.c:1130(smb_panic)
May  9 17:06:53 Share smbd[2430]:   smb_panic(): action returned status 0
May  9 17:06:53 Share smbd[2430]: [2013/05/09 17:06:53.909335,  0] lib/fault.c:372(dump_core)
May  9 17:06:53 Share smbd[2430]:   dumping core in /var/log/samba/cores/smbd
May  9 17:06:53 Share smbd[2430]:
14  Hardware and U-Boot firmware / U-Boot stuff / Re: Losing USB-HDD / Not found during reboot on: May 10, 2013, 05:54:13 AM
BTW: later the year the issue even got worse as the USB drive often wasn't found though rebooting and or resetting the plug. In the end I even electrically connected the outer shield of the USB-plug to the earth cable, which gave some relief.
While I'm currently trying to update my plug from Squeeze to Wheezy I'm playing around with images on different SHDC cards (old Panasonic vs new Transcend). Looking at the various reboots performed during this exercise I notice, that not only the Transcend card is found immediately - usually I have to press the reset button for the Panasonic to be recognized by the plug - but also the USB drive recognition is perfect again with the Transcend, while it's still bad, when the Panasonic is connected.

Strange, but there seems to be some correlation of the recognition with the SD card's brand and the same USB drive!?
15  Hardware and U-Boot firmware / U-Boot stuff / Re: SheevaPlug: no boot from SDHC after u-boot upgrade to DENX 2012.04.01-2 on: May 09, 2013, 08:40:35 AM
Good news: after the upgrade to Wheezy the plug rebooted with the new SD card without me having to push the reset button

Bad news: as with my first attempt to upgrade, smbd does not want to start. I got the below syslog message.

Thus I put back the "Squeeze" card for the moment, leaving the "Wheezy" for trouble shooting with my spare plug.

May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.289649,  0] lib/fault.c:47(fault_report)
May  9 17:06:45 Share smbd[2430]:   ===============================================================
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.295058,  0] lib/fault.c:48(fault_report)
May  9 17:06:45 Share smbd[2430]:   INTERNAL ERROR: Signal 7 in pid 2430 (3.6.6)
May  9 17:06:45 Share smbd[2430]:   Please read the Trouble-Shooting section of the Samba3-HOWTO
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.296434,  0] lib/fault.c:50(fault_report)
May  9 17:06:45 Share smbd[2430]:
May  9 17:06:45 Share smbd[2430]:   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.297702,  0] lib/fault.c:51(fault_report)
May  9 17:06:45 Share smbd[2430]:   ===============================================================
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.298565,  0] lib/util.c:1117(smb_panic)
May  9 17:06:45 Share smbd[2430]:   PANIC (pid 2430): internal error
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.300102,  0] lib/util.c:1221(log_stack_trace)
May  9 17:06:45 Share smbd[2430]:   BACKTRACE: 0 stack frames:
May  9 17:06:45 Share smbd[2430]: [2013/05/09 17:06:45.302107,  0] lib/util.c:1122(smb_panic)
May  9 17:06:45 Share smbd[2430]:   smb_panic(): calling panic action [/usr/share/samba/panic-action 2430]
May  9 17:06:53 Share smbd[2430]: [2013/05/09 17:06:53.908783,  0] lib/util.c:1130(smb_panic)
May  9 17:06:53 Share smbd[2430]:   smb_panic(): action returned status 0
May  9 17:06:53 Share smbd[2430]: [2013/05/09 17:06:53.909335,  0] lib/fault.c:372(dump_core)
May  9 17:06:53 Share smbd[2430]:   dumping core in /var/log/samba/cores/smbd
May  9 17:06:53 Share smbd[2430]:
Pages: [1] 2 3 ... 10