• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2
1  Linux Stuff / Kernel / Re: Is mainstream 2.6.30 now totally suitable for Sheevaplug? on: June 14, 2009, 10:32:34 PM
The queued up orion tree patches, including the cpuidle and clock gating patches are in mainline now - post 2.6.30. So, 2.6.31 will be the first one with all the goodies.
2  Hardware and U-Boot firmware / U-Boot stuff / Re: Setting up Multi-boot (SD/USB vs. NAND) on: June 13, 2009, 08:00:46 AM

That will get the rootfs on the card. Then it's a simple matter to copy the kernel over and then use SD boot as per the instructions.
3  General Category / Success stories / Re: Sheevaplug with MIMO monitor on: June 04, 2009, 10:21:33 AM

Can this power itself over USB, or do you require an external power adapter. I'm reading these monitors don't come with a PSU - if it needs one, is it a standard 5V/2A 3.5mm unit?
4  Hardware and U-Boot firmware / U-Boot stuff / Re: Setting up Multi-boot (SD/USB vs. NAND) on: June 01, 2009, 10:23:29 PM
I've added a USB example section.
5  Hardware and U-Boot firmware / U-Boot stuff / Re: Setting up Multi-boot (SD/USB vs. NAND) on: May 30, 2009, 08:09:12 PM
You probably need to do:

setenv varName 'value'
6  Linux Stuff / Kernel / Re: Reliable SD support by disabling highspeed operations on: May 27, 2009, 10:28:53 PM
It's listed right there in my post and it's been downloaded a few times. Text is green on black so you might have missed it :-P
7  Linux Stuff / Kernel / Reliable SD support by disabling highspeed operations on: May 26, 2009, 10:50:27 PM
So, it was obvious in retrospect, given the break down of cards that work vs. cards that didn't work, but disabling highspeed operations (50Mhz vs 25/20Mhz) makes all cards work.

It's a trivial change to make to the kernel source, and I'd recommend it until the Marvell guys can sort out a working fix. I've attached a diff.

I'd recommend that those people providing pre-built kernels apply this patch - it has no real downside for now because the highspeed card is almost certainly not going to work - so low speed operation is better than no operation at all!
8  Hardware and U-Boot firmware / U-Boot stuff / Setting up Multi-boot (SD/USB vs. NAND) on: May 25, 2009, 06:50:59 PM
Hi all,

I spent some time today getting a multi-boot configuration going on my plug - if I have an SD inserted when I boot, it will use the card, otherwise it falls back to NAND - all without manual intervention. There's no real magic involved but it's worth documenting, so I've added a wiki page for it:

9  Linux Stuff / Kernel / Re: kernel.org 2.6.30-rc7 regression? on: May 24, 2009, 10:55:58 AM
Yes, it's a regression. There's a fix in the orion tree.

10  Linux Stuff / Kernel / Re: SD card support on: May 24, 2009, 10:19:54 AM
More observations and clarifications:

1) There are separate hardware and software problems here. Before I opened it up and fiddled the connector, I had no success under any conditions.

2) The best kernel to use is the very latest orion git tree. You could merge this with mainline but orion is already rc6++ if not quite rc7 yet.

3) From a cold boot, all my cards work reliably.

4) From a soft reboot, I get errors reading the card when I use my SDHC card. One of older slower SD cards continues to run reliably. This seems to reflect the common situation reported where some basic cards work and the fancier ones don't.

5) So, something happening in the reset process is mucking up the hardware. And whatever it is, the kernel init is not enough to fix it. Very odd.
11  Linux Stuff / Kernel / Re: SD card support on: May 23, 2009, 06:04:06 PM
More info. I now strongly suspect that even when it works correctly, it will stop working after a reboot (as opposed to pulling the power). I saw errors with my good kernel after doing that. So, you have to pull the power and start from a cold boot for it to work.
12  Linux Stuff / Kernel / Re: SD card support on: May 23, 2009, 04:27:05 PM
Well, I'm not sure what exactly is going on. Here's my situation

1) I started off with 100% failure and saw -110 errors continually when I inserted any card.
2) I opened the plug up and fiddled with the connector
3) I am using a bleeding edge git tree - the very latest Linus git merged with the very latest orion tree. The latest orion tree includes a couple of SD related patches that are no where else. These might be important.
4) I use a custom (module-less) kernel (config attached),
5) When I boot from powered-off to this kernel, it will handle all of my SD and MMC cards. I did dd reads of 128MB from all of them with no problems
6) The mmc enabled u-boot can init and read my SD and SDHC cards, but not my MMC cards.

So, everything seems great. Now here's the weird part.

7) I tried running the ARMedSlack installer which is stock mainline 2.6.30-rc6 and it failed with the errors that you get without the delay patch from the orion tree. Ok, that's expected.
Cool I then applied the ARMedSlack config (also attached) to my git tree and built a custom kernel and booted into the installer. I now got the errors doing reads (detection is ok) that many other people have reported. This happens consistently.
9) If I reboot into my working kernel, I get the same errors - I have to hard power off to get back to reliable operation.

Assuming that something insane isn't going on here, some difference between my custom config and the configs that most people use (including the ARMedSlack installer) could be to blame for the errors. I will continue to investigate.
13  Linux Stuff / Kernel / Re: SD card support on: May 23, 2009, 10:32:00 AM
My situation has improved. I've been tracking the mainline and orion kernels and currently run a merged tree (I merge the extra changes from orion into mainline). Previously, I was seeing -110 errors on all my cards and no cards would work with the MMC enabled u-boot either. A few days ago, I opened my plug and fiddled with the connector from the debug board (with the SD slot) to the main board. Now I find that all my cards (SD, SDHC, MMC, MMCplus) work in linux! And the SD and SDHC cards work in u-boot too (no luck with MMC - I'm not sure u-boot actually implements the different protocol).

So, if you're seeing -110 errors even with the latest kernel, then it might be worth opening it up and making sure the connection is good.
14  Linux Stuff / Kernel / Re: SD card support on: May 14, 2009, 01:11:38 PM
So, with my new plug, I'm having zero success with any MMC or SD cards - either in Linux or in the MMC enhanced u-boot.

In Linux, I simply see:

mmc0: error -110 whilst initialising SD card

over and over for any SD card I care to insert. It also reports that there's no Card Detect interrupt and its going into polling mode. I recall reading somewhere that early builds of the plug didn't have the CD line wired up and couldn't handle SD cards properly  - have I ended up with one of these dud versions? It arrived yesterday and was part of the 9th May batch.

I get errors with both the stock kernel and with a custom built 2.6.30-rc5 with all the orion.git patches and the mvsdio 'voodoo' patch.
15  General Category / General Discussion / Re: Received yours yet? on: May 11, 2009, 11:27:16 AM
And there you go, I just received my tracking number in an email. w00t.
Pages: [1] 2