tonidoplug uboot similarities?

Discussion about U-Boot and the kernel.

Re: tonidoplug uboot similarities?

Postby peaslaker » Sat Jan 15, 2011 5:55 pm

netter wrote:so no one has any solutions, or hacks to get past these boot problems?


The current draw on the USB of the Dockstar is too high on startup. There isn't a software fix for that (except for the sidestep bodge I'll list in a minute).

Options are:
1. unplug the web cam
2. powered USB hub supplying power to the webcam
or
3. (the sidestep bodge) install the kernel to NAND and boot from NAND with a good long pause before expecting to find anything sensible on USB storage. Leave the USB system to settle out and the system will never know the difference, although if you smell smoke you should probably switch it off.
peaslaker
 
Posts: 101
Joined: Tue Sep 07, 2010 10:40 pm

Re: tonidoplug uboot similarities?

Postby crimsonredmk » Sat Jan 15, 2011 6:21 pm

Or just do number 2 and get a powered USB hub. :mrgreen:
Remember, Arch Linux ARM is completely donation-supported, and is totally awesome.
crimsonredmk
Site Admin
 
Posts: 454
Joined: Wed Dec 30, 2009 5:17 pm
Location: #archlinux-arm on irc.freenode.net

Re: tonidoplug uboot similarities?

Postby netter » Sat Jan 15, 2011 11:18 pm

Admin wrote:Or just do number 2 and get a powered USB hub. :mrgreen:


ofc the usb hub is powered!

I tried two different powered hubs, but it's not a power issue. It doesn't matter whether i have the bootusb + webcam or bootusb + webcam + 8 other devices, its because of the webcam...
netter
 
Posts: 24
Joined: Thu Sep 30, 2010 1:22 am

Re: tonidoplug uboot similarities?

Postby netter » Sat Jan 15, 2011 11:19 pm

peaslaker wrote:
netter wrote:so no one has any solutions, or hacks to get past these boot problems?

3. (the sidestep bodge) install the kernel to NAND and boot from NAND with a good long pause before expecting to find anything sensible on USB storage. Leave the USB system to settle out and the system will never know the difference, although if you smell smoke you should probably switch it off.


hell i'd even take a solution that boots from nand -> usbboot, but ofc starts running from the usbboot fully, and drops nand later.
netter
 
Posts: 24
Joined: Thu Sep 30, 2010 1:22 am

Re: tonidoplug uboot similarities?

Postby netter » Mon Jan 17, 2011 1:46 pm

Samson wrote:I believe you have to get access to uBoot environment....


if your talking about printenv, then no, I just get some info about the bash shell settings. Maybe I'm doing it wrong?

edit:
/etc/fw_env.config
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Notice, that the "Number of sectors" is ignored on NOR.

# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000


this file is missing for me, so what are the correct offsets for a tonido plug?

edit2:
from the beginning of this link:http://Arch Linux ARM.com/forum/viewtopic.php?f=25&t=413 using cat /proc/mtd

I was able to get these numbers:
mtd0 00100000 00020000 "u-boot"
mtd1 00400000 00020000 "uImage"
mtd2 1fb00000 0020000 "root"

How can I can convert these to a fw_env.config file?

edit3:

no idea why but this works

http://plugcomputer.org/plugforum/index ... 637#msg637
netter
 
Posts: 24
Joined: Thu Sep 30, 2010 1:22 am

Previous

Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 2 guests