Welcome! Log In Create A New Profile

Advanced

Booting Debian on Pogoplug Pro

Posted by bodhi 
Re: Booting Debian on Pogoplug Pro
April 28, 2014 05:21PM
ingmar_k,

Re http://forum.doozan.com/read.php?3,6336,15850#msg-15850

initrd is especiall useful for the Pogo V3. When you boot with both SATA and multiple USB drives plugged in, it is much easier to use rootfs label to identify the boot drive with bootarg root=LABEL=rootfs. Using other mechanism such as UUID or other identifying means are not very flexible (i.e. U-Boot envs need to change every time you change the boot drive).

Currently, I'm having problem with initrd using kref's configuration as a base, and adding back some initrd options. I got stuck at booting the kernel because it can't find the root device with label. OTOH, booting with initrd and a simple bootarg root=/dev/sda1 is never a problem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Booting Debian on Pogoplug Pro
April 30, 2014 08:29PM
I'm looking for the Oxnas source code where the LED blinking is controlled (low level stuff, e.g. GPIO ). Anybody happen to have it or can point me to the source?

In U-Boot, during booting I can turn on the LED to Green, Orange (Blue by itself does not seem to work) . But can't find the setting to make it blinked!

Thanks,

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Booting Debian on Pogoplug Pro
May 01, 2014 12:54PM
because those instances where it is blinking, it is using a timer & jiffies w/ a shared source file for the definition. See the xce module source code where ti stops the blinky clock.
Re: Booting Debian on Pogoplug Pro
May 01, 2014 03:13PM
Thanks WarheadsSE.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Booting Debian on Pogoplug Pro
May 01, 2014 03:59PM
NP, If you look at my 2.6.31 tree, you will see there is a module that explicitly goes and destroys that damned timer that is set in the u-boot from CE.
Re: Booting Debian on Pogoplug Pro
May 01, 2014 04:18PM
Ah, I remember that module. Yes, I've started browsing your 2.6.31 tree for clues :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Booting Debian on Pogoplug Pro
May 02, 2014 04:00AM
@ingmar_k,

I know you're not actively working on this plug :) but just a quick question since you've probably learned a lot about the new U-Boot already. What do you think about kref's U-Boot that can be improved? So far as I can tell, the NAND version is pretty solid. I added the pinmux calls to control the LEDs and it works well (currently I just turn it Orange while U-Boot is booting, and let the Green automatically turned on when the kernel starts booting).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 05/02/2014 04:02AM by bodhi.
Re: Booting Debian on Pogoplug Pro
May 02, 2014 04:36AM
I was working on a new environment just before I ran out of time on this project.

As is, I would say the U-Boot version that kref provides is pretty solid. Both the NAND and the SATA part. Had no problems with it, whatsoever.

If we can "polish" it and its functionality a bit further and include a fully working and extensive default environment, this could be perfect.
Add the new kernel and there is whole new life in these little inexpensive plugs. If I had the time, i would be working on them, too. Unfortunately I don't have the time, ATM.
Re: Booting Debian on Pogoplug Pro
May 03, 2014 04:33PM
@WarheadsSE,

Perhaps I looked at the wrong tree, but could not find any xce module! here is where I searched:
https://github.com/WarheadsSE/OX820-2.6-linux

Do you remember the file name, by any chance?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Booting Debian on Pogoplug Pro
May 03, 2014 06:47PM
bodhi Wrote:
-------------------------------------------------------
> @WarheadsSE,
>
> Perhaps I looked at the wrong tree, but could not
> find any xce module! here is where I searched:
> https://github.com/WarheadsSE/OX820-2.6-linux
>
> Do you remember the file name, by any chance?

How about these? is the CE bootled.c the one they used in stock u-boot?

/OX820-2.6-linux-master/arch/arm/mach-oxnas/oxnas-wd810-leds.c
OX820-2.6-linux-master/arch/arm/mach-ox820/bootled.c

TIA

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Booting Debian on Pogoplug Pro
May 04, 2014 08:21AM
bodhi Wrote:
-------------------------------------------------------
> @WarheadsSE,
>
> Perhaps I looked at the wrong tree, but could not
> find any xce module! here is where I searched:
> https://github.com/WarheadsSE/OX820-2.6-linux
>
> Do you remember the file name, by any chance?

Nvm! I found a better way to implement the LED sequence.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Booting Debian on Pogoplug Pro
May 05, 2014 03:42PM
I've added LEDs booting sequence to the new U-Boot.

For those who have flashed the new U-Boot by kref/navym to NAND (with SPL). Attached is a new binary that you can test with tftp:

Attached binary
uboot.2013.10-tld-2.ox820.bin
md5:
a5c28e54364e102693c5212c6db0b81c

To run test with tftp, interrupt U-Boot right after the SPL booted up and tftp the image:
tftpboot 0x64000000 uboot.2013.10-tld-2.ox820.bin
go 0x64000000

Disclaimer: please do not flash this image to NAND. It needs be prepared further for mtd0.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 3 time(s). Last edit at 05/05/2014 03:53PM by bodhi.
Attachments:
open | download - uboot.2013.10-tld-2.ox820.bin (502.5 KB)
Re: Booting Debian on Pogoplug Pro
May 07, 2014 03:23AM
@ingmar_k,

Did earlyprintk work consistenly for you on this kernel? I remmenber your posts at Arch site about this that it did work sometime. I compiled the kernel with
CONFIG_EARLY_PRINTK=y
CONFIG_SERIAL_8250_NR_UARTS=1
CONFIG_SERIAL_8250_RUNTIME_UARTS=1
# CONFIG_DEBUG_LL_UART_NONE is not set
CONFIG_DEBUG_LL_UART_8250=y
# CONFIG_DEBUG_LL_UART_PL01X is not set
# CONFIG_DEBUG_UART_PL01X is not set
# CONFIG_DEBUG_UART_8250 is not set
CONFIG_DEBUG_UART_PHYS=0x44200000
CONFIG_DEBUG_UART_VIRT=0xF0000000
CONFIG_DEBUG_UART_8250_SHIFT=0
# CONFIG_DEBUG_UART_8250_FLOW_CONTROL is not set
and pass the kernel parameter in bootcmd from U-Boot
earlyprintk=serial
But nothing more than what I usually see got printed. I'm trying to debug a booting problem (the kernel crashed and kicked back out to U-Boot and the pogo was reset back to restart). But nothing was logged to the serial console.

Thanks,

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Booting Debian on Pogoplug Pro
May 07, 2014 06:21AM
My problem was actually a little different, I think.
I had the problem that I got no console output at all, if low level debug was not enabled. Normally there should be output on serial console either way.
So, unfortunately I can't really comment on your problem.
Re: Booting Debian on Pogoplug Pro
May 08, 2014 12:24PM
I got source from Shuttle for KD20. Kernel version is here the same old one (2.6.31.14) but if someone is interested, I can share it. At least SATA drivers seem a little different than those for Silverstone/Akitio.
Robert
Re: Booting Debian on Pogoplug Pro
June 05, 2014 10:13AM
Hi,

and thank you for sharing information. would you walk me through step by step so I can install linux on my pogo plug pro PLEASE.
I read your forum but it seems a little bit advance to me.
I have downloaded the zip file , and extracted it on the flash disk, but I don't know what to do after that.

Thanks

R.
Re: Booting Debian on Pogoplug Pro
June 05, 2014 03:56PM
[Sorry, ignore. Deleting bad advice]



Edited 1 time(s). Last edit at 06/05/2014 04:58PM by velo.
Re: Booting Debian on Pogoplug Pro
June 05, 2014 04:47PM
Yeah, because recommending PPV4 instructions for Pro .. is a sane idea.
Re: Booting Debian on Pogoplug Pro
June 05, 2014 04:57PM
Oops! I thought the Pro was the V4 listed on the page? D'oh. Sorry.... Ignore.
Re: Booting Debian on Pogoplug Pro
June 07, 2014 07:32AM
Robert,

This is the correct thread to follow to install Debian on Pogo Pro:
http://forum.doozan.com/read.php?2,16044

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: