Welcome! Log In Create A New Profile

Advanced

Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs

Posted by bodhi 
Re: Linux Kernel 3.16.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
October 09, 2014 02:05PM
h1ro Wrote:
-------------------------------------------------------
> bodhi Wrote:
> > I've only briefly looked at the Sata-only
> booting.
> > To me it's good for recovery purpose, not much
> > else. Booting with a modern u-boot in NAND is
> much
> > more flexible.
>
> But your u-boot in NAND can also boot kernel and
> rootfs from SATA, right?

Yes.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Linux Kernel 3.16.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
October 24, 2014 04:36AM
Hi,
I bought a Pogoplug model P24 from ebay and finally it works with the 3.16.0-oxnas-tld-4.

Great Work!

Now I have a little problem: after update/upgrade I installed cifs-utils because I want to use the Pogoplug as a mp3-player using mpd with relaxx player interface. The music resides on a existing NAS. But I cannot mount any cifs share.

I always get

mount error: cifs filesystem not supported by the system
mount error(19): No such device

So I found that the cifs is not a builtin, so I need a kernel module "cifs.ko"

But in your minimal rootfs "Debian-3.12.13-oxnas-tld-5-rootfs-bodhi.tar.bz2" there is no cifs module...

So I searched many availabe armel rootfs archives, trying their "cifs.ko", but always got

ERROR: could not insert 'cifs': Exec format error

So my question is do you have a "cifs.ko" which is working with this kernel?
You have to search through kernel packages and NOT rootfs packages, in order to find a matching cifs.ko.
It has to be part of a kernel package, because it has to match the kernel that you are using.
If bodhi compiled the kernel without cifs support, then you either have to build your own kernel, or just ask bodhi for a new kernel package with cifs support enabled.
Re: Linux Kernel 3.16.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
October 24, 2014 02:52PM
begrenzungsfaktor,

As ingmar said, I did not include it in the kernel build for 3.16. So either you compile it or wait until 3.17 release, perhaps a week from now, time permitted.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Thank you for all the great work - at last after 2 years gathering dust I can finally use my pogo pro to play music!

I have it running as a DLNA audio renderer using mpd and umpmdcli.

I have a separate Plex server as the library and upnp control on Android. Currently I only have a cheap usb audio dongle but will upgrade to something better soon.

I had to compile upmpdcli from the source version 0.8.1 (0.8.5 doesn't work)

Also have connected it to my Debian server over NFS and using the normal mpc client.

Thank you again
Re: Linux Kernel 3.16.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
October 29, 2014 03:01AM
anto,

> at last after 2
> years gathering dust I can finally use my pogo pro
> to play music!

Cool! glad to hear a success story :)

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Linux Kernel 3.16.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
October 29, 2014 03:01AM
@bodhi,

will try the new 3.17 kernel and will get back with results regarding the uvcvideo. Really hope the issue has been fixed!

EDIT 1: Just tested it with no luck again this time. It seems like the issue remains with kernel 3.17 (as already have read after googling a bit). Went back to my good old motion and v4l :D

EDIT 2: The issue seems to have been solved http://git.linuxtv.org/cgit.cgi/pinchartl/media.git/commit/?h=uvcvideo/fixes&id=a7f053c67c357c4b68c1be21976a1d464f97916b but hasn't been kernel upstreamed yet.



Edited 2 time(s). Last edit at 10/30/2014 04:43AM by denexo.
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
October 30, 2014 02:15PM
denexo,

> The issue seems to have been solved
> http://git.linuxtv.org/cgit.cgi/pinchartl/media.gi
> t/commit/?h=uvcvideo/fixes&id=a7f053c67c357c4b68c1
> be21976a1d464f97916b but hasn't been kernel
> upstreamed yet.

Did people try this and report that it works? I could incorporate the patch into the kernel and recompile to get the module (the modification is internal).

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 02, 2014 10:30PM
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 04, 2014 07:50AM
@bodhi,

if it is not a trouble for you, could you please make a testing 3.17 kernel with the above mentioned uvcvideo patches? I could try its working status ;)
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 04, 2014 10:41PM
denexo Wrote:
-------------------------------------------------------
> @bodhi,
>
> if it is not a trouble for you, could you please
> make a testing 3.17 kernel with the above
> mentioned uvcvideo patches? I could try its
> working status ;)

Sure, I will when I have time to do it!

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 05, 2014 12:49AM
@bodhi,

you already have done very much! Take your time and when you compile the kernel i will test it ;)
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 07, 2014 01:43AM
denexo & others,

Here is the kernel 3.17.0-oxnas-tld-2, which incorporated the uvc_video patch.

Download at dropbox:
linux-3.17.0-oxnas-tld-2.bodhi.tar.bz2
md5:
eb088226f869206ebad88036018d89cc

Please test and let me know.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 10, 2014 03:51AM
@bodhi,

thanks once again for your effort!
I installed patched kernel but i get same result...i get no image on mjpg_streamer when using the input_uvcvideo.so . I really hope i am not doing something wrong. Could someone else please check also?
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 10, 2014 11:12PM
@denexo,

Let me create the delta patch and confirm that it was good. Among the 3 files in that patch, 2 already in my source tree, so I actualy patched only 1 file.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 11, 2014 02:45AM
@bodhi,

maybe the patch isn't working. I am sure you patched everything correct in the first place!
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 11, 2014 10:28PM
@denexo,

I've double checked the patch! the patch was applied correctly. So we're out of luck until someone else test this change and confirm one way or the other.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
shv
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 12, 2014 07:26AM
@denexo,

if you just need a kernel which supports uvcvideo I could offer you the 2.6.31.14 kernel which I use. Mjpeg streamer is working well. If you want to use this kernel for Pogoplug Pro only I could upload it for you. If it shall be used for Wheezy two small configuration changes must be done which are not necessary for Squeeze.

-shv
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 13, 2014 12:48AM
@bodhi,

as i told you earlier, i was sure that you had applied the patch correctly the first time ;) We can only wait for the new vanilla kernel and test!

@shv,
thank you very much for your kind offer! Fact is that i have my webcam working using v4l and motion at the moment, so i am not in that a big need for a working uvcvideo.
Hi,
I have a B02 plug with the stock kernel and uboot. I followed the latest instructions given in the first post and installed the rootfs onto a USB drive. However, I am unable to boot from the drive. It always boots from the stock kernel. Is it necessary to do something else, like updating uboot for this to work?
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 15, 2014 07:29AM
@nibre,

Yes. stock u-boot does not boot USB drive. You'll need to either install new u-boot, or boot with tftp.

- For new u-boot see: http://forum.doozan.com/read.php?3,16017
- For tftp booting , see section Updated 29 Oct 2014, kernel installation section B in the first post.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
shv
Re: Linux Kernel 3.16.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 15, 2014 09:28AM
anto Wrote:
-------------------------------------------------------
> I have it running as a DLNA audio renderer using
> mpd and
> umpmd
> cli
.
>
> I had to compile upmpdcli from the source version
> 0.8.1 (0.8.5 doesn't work)

I am using upmpdcli-0.8.6 and is works very well.
Can you recommend me a better audio dongle? I am using a dongle like this: http://www.ebay.com/itm/7-1-Channel-nicest-Virtual-USB-2-0-3D-PERFECT-Sound-Audio-Card-Adapter-HOT-WS-/151269226706?pt=US_Sound_Card_External&hash=item23385938d2.

-shv
@bodhi

Thanks for the response. I updated my uboot but now I am stuck at boot.

Here is the boot message (from netcat)

U-Boot 2013.10-tld-3 (May 15 2014 - 14:54:14) for OXNAS 0
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
4109737 bytes read in 348 ms (11.3 MiB/s)
1953812 bytes read in 272 ms (6.9 MiB/s)
7033 bytes read in 215 ms (31.3 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-3.3.17.0-oxnas-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4109673 Bytes = 3.9 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
Image Name: initramfs-3.17.0-oxnas-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 1953748 Bytes = 1.9 MiB
Load Address: 60000000
Entry Point: 60000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000


The boot gets stuck at this point. Any ideas?
It has been my experience that when watching the boot with netconsole, even a normal to completion boot, what you are seeing is all you are going to see. Watching it on a serial console will show you more, and if the boot is normal to completion you will see a login: prompt.
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 15, 2014 02:14PM
@nibre,

Usually you will see the message:

Quote

## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000


Starting kernel ...

This behavior points to your u-boot envs problem, most likely bootargs. Please interrupt netconsole during the count down and get the listing of the envs and post here.

> printenv

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
I connected to the serial console and it turns out that the kernel is actually getting loaded. Here the complete boot message:

scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
4109737 bytes read in 348 ms (11.3 MiB/s)
1953812 bytes read in 272 ms (6.9 MiB/s)
7033 bytes read in 216 ms (31.3 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-3.3.17.0-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4109673 Bytes = 3.9 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-3.17.0-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    1953748 Bytes = 1.9 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 67c4d000, end 67e29fd4 ... OK
   Loading Device Tree to 67c48000, end 67c4cb78 ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

But there are no messages after that.

Here is my env listing.

autoload=no
baudrate=115200
bootargs=console=ttyS0,115200n8
bootcmd=run dt_bootcmd_usb
bootdelay=10
console=console=ttyS0,115200n8
dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset
dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr
dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb
dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd
dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage
dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm
dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot
dtb_addr=0x62c00000
ethact=mii0
ethaddr=5e:2b:15:71:ec:b6
if_netconsole=ping $serverip
ipaddr=192.168.1.100
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot=run if_netconsole start_netconsole
preboot_nc=run if_netconsole start_netconsole
serverip=192.168.1.102
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uimage_addr=0x60500000
uinitrd_addr=0x60e00000
usb_device=0:1
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10

Environment size: 1242/131068 bytes
Re: Linux Kernel 3.17.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree)
November 16, 2014 01:10AM
@nibre,

Your bootargs looks OK, and other u-boot envs are OK, too. So now it points to your rootfs and the uImage.

- Did you recreate the uImage file with embedded DTB? if you did, then restore the orginal uImage from the basic rootfs (it needs to be one without embedded DTB).
- If the above was already checked out, then it's better to recreate the basic rootfs from scratch using an Ext3 USB drive and boot with it.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
@bodhi
Thanks a lot! I just ran these commands from the second post:

mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-3.17.0-oxnas-tld-1 -d /boot/vmlinuz-3.17.0-oxnas-tld-1 /boot/uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-3.17.0-oxnas-tld-1  -d /boot/initrd.img-3.17.0-oxnas-tld-1 /boot/uInitrd

and it worked!
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: