Show Posts
|
|
Pages: 1 2 3 [4] 5 6
|
|
46
|
Linux Stuff / General Linux questions / Re: Problem mounting usb-pen
|
on: September 10, 2010, 04:00:16 AM
|
|
It's exactly what the error message says: "device /dev/sda1 does not exist" yet. It may take a couple of seconds for the device nodes for the partitions to be created, so you are trying to mount it too soon.
This kind of problems have been discussed here a lot. Search this forum for "usb mount delay" or something of that kind.
|
|
|
|
|
47
|
Linux Stuff / Linux distributions / Re: Saving / copying RFS (to move to another plug)
|
on: September 10, 2010, 12:50:19 AM
|
is there a way I can tell how big the current UBI fs is? And just nanddump that?
No. The data is usually spread throughout the flash and you would have to cherry-pick individual blocks. You could just copy the file system contents using tar or cpio to another Linux machine and create a new UBI image there.
|
|
|
|
|
49
|
Hardware and U-Boot firmware / Hardware / Re: mini usb-Port
|
on: September 02, 2010, 02:22:35 PM
|
Yes, it is wrong. What is labeled on the picture as "Mini USB-Port" is actually the JTAG connector. The other one labeled "JTAG UART RS232" is UART (not JTAG, not RS-232).
|
|
|
|
|
50
|
Hardware and U-Boot firmware / Hardware / Re: mini usb-Port
|
on: September 02, 2010, 01:26:17 AM
|
|
Are you sure you are talking about GuruPlug Server Plus? It does not have a mini-USB port. It has UART connector (for the serial console) and JTAG. The "official" way of using those is to purchase a JTAG board specially made for GuruPlug. Just a cable is not enough. If you only need serial console, but no JTAG, you could make a cheaper converter from UART to RS-232 or USB. If you search this forum I believe you will find a number of posts about that.
|
|
|
|
|
51
|
Linux Stuff / General Linux questions / Re: uaputl sources: where?
|
on: September 02, 2010, 01:17:13 AM
|
|
I believe this question has been asked a couple of times before and, as far as I know, has not been answered. It appears that uaputl is not open source. In theory you could ask Marvell, but according to what is written on their web site, they won't even talk to you until you sign an NDA.
|
|
|
|
|
52
|
General Category / General Discussion / Re: Should a dev kit be unreliable?
|
on: August 31, 2010, 12:50:16 AM
|
I have not had the opportunity to examine a Guruplug, but reading all the problem posts on this forum, would suggest the device has an extreme heat budget problem, due to the extra features. The remarks regarding the Sheevaplug could equally apply to the Guruplug.
Your remarks about the quality of the PCBs apply to GuruPlug as well. The main PCBs (two of them) look nicely designed. But the power supply PCB reminds me of those hand-made amateurish boards I used to make for a hobby in the old days.
|
|
|
|
|
54
|
Linux Stuff / Linux distributions / Re: how to preserve flash disk
|
on: August 15, 2010, 01:42:58 PM
|
I don't see any reason whatsoever why the root file system can not be read-only (and I believe it should be). Besides preserving the flash, it also protects the data from accidental damage by buggy software or, more likely, by a user's mistake, such as "sudo rm -rf /"  . I've been using this for many years on my home router. The recipe is quite simple: mount tmpfs on /tmp and unionfs (or aufs, if you prefer) on /var. The unionfs/aufs mount should contain two branches: read-only - the original /var, and writable - another tmpfs mount somewhere (I use /mnt/var for that purpose). Using unionfs/aufs relieves you from the burden of creating all necessary files and directories in /var upon each boot.
|
|
|
|
|
57
|
Hardware and U-Boot firmware / U-Boot stuff / Re: File to configure for UBoot
|
on: August 10, 2010, 04:03:37 AM
|
|
The 88F6281 SoC used in SheevaPlug (and GuruPlug) belongs to Marvell's "kirkwood" family (sometimes abbreviated as "kw"). ARM architecture version is "armv5te" and the CPU type is "arm926ejs" (sometimes spelled "arm926ej-s").
If you are talking about U-Boot code then the directory you are looking for is "arch/arm/cpu/arm926ejs/kirkwood/". Although I can't imagine why you would want to change something there.
|
|
|
|
|
58
|
Hardware and U-Boot firmware / U-Boot stuff / Re: Understanding UBoot
|
on: August 10, 2010, 03:49:46 AM
|
So, now my understanding is that, BootROM is piece of code residing in SoC which can be configured according to our needs by changing few parameters iof headers.. nothing more can be configured or changed in BootROM
You've got the idea. There isn't much of configuration though. Upon reset BootROM checks the state of a few pins of the SoC to determine where it should load the second level boot loader from (NAND, SPI, whatever else). This choice is often hardwired on the PCB, since most real-life devices only have a single place to boot from. In that case there is no configuration at all.
|
|
|
|
|
59
|
Hardware and U-Boot firmware / U-Boot stuff / Re: Understanding UBoot
|
on: August 09, 2010, 08:22:43 AM
|
(1) Boot Image resides in BootROM and boot image means uboot source and other headers... M I right? OR Source image (Part of boot image residing in botROM) contains code only to fetch uBoot from external device as second stage bootloader???
What is right???
You may be confusing yourself by using a vague term "boot image", which can mean about anything. BootROM is a small piece of code located inside the SoC chip. It is put there during manufacturing. It is not a part of U-Boot, in fact it is unrelated to U-Boot at all. Yes, the function of BootROM is to load and start what you call "second stage bootloader", which is usually U-Boot (but does not have to be).
|
|
|
|
|
60
|
Hardware and U-Boot firmware / U-Boot stuff / Re: Questions regarding nand and u-boot partitions
|
on: August 06, 2010, 03:46:58 AM
|
Many kernel sizes are less than 0x400000--is there any reason not to start the file system at 0x400000 instead of 0x500000?
One of the first things I did when I got my plug was decreasing the MTD partition size for kernel. I think 4MB is way too much. If you are a bit conservative about what should be built-in (as opposed to a loadable module) then you will usually end up with a kernel under 2MB. Although, I did not even try to play with the "mtdparts" boot option, I just changed the default partitioning in the kernel source, as I do not intend to change it again any time soon.
|
|
|
|
|