A new kernel for oxnas

This forum is for all other ARMv5 devices

Re: A new kernel for oxnas

Postby celemine1gig » Tue Feb 18, 2014 11:08 pm

And the same for the Pogo V3 Pro:

http://www.hs-augsburg.de/~ingmar_k/Pog ... ty.tar.bz2

Same warning again: Only use if you know what you are doing. Not tested, yet. Will have time for my own testing in about a week or so, probably.
Last edited by celemine1gig on Wed Feb 19, 2014 3:56 pm, edited 1 time in total.
celemine1gig
 
Posts: 54
Joined: Fri Apr 26, 2013 7:55 pm

Re: A new kernel for oxnas

Postby celemine1gig » Wed Feb 19, 2014 2:34 pm

And the SATA U-Boot compiled with my ARMv6 compiler:
http://www.hs-augsburg.de/~ingmar_k/Pog ... 92.tar.bz2

Will upload a u-Boot version for NAND (with the appropriate environment) in the matter of the next few weeks. ;)
For instructions how to use it just read the Wiki on kref's github page and/or have a look at WarheadsSE's script to update u-Boot. All needed info is included there and/or in this thread.
celemine1gig
 
Posts: 54
Joined: Fri Apr 26, 2013 7:55 pm

Re: A new kernel for oxnas

Postby WarheadsSE » Wed Feb 19, 2014 3:16 pm

It is in the plans to attempt to re-package and re-support the device.

I just have to manage time.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: A new kernel for oxnas

Postby niedi74 » Thu Feb 20, 2014 10:06 pm

thats great news ...thx
niedi74
 
Posts: 14
Joined: Mon Dec 23, 2013 7:32 am

Re: A new kernel for oxnas

Postby schnee » Mon Feb 24, 2014 11:36 am

I followed celemine1gig posts and downloaded the relevant files:
- kernel for the Pogo Pro
- uboot
Followed the wiki from kref (https://github.com/kref/u-boot-oxnas/wi ... t-for-sata) to create a sata disk:
1. created 2 partitions on the disk: 15 MB FAT32, rest of the disk as ext4
2. copied u-boot.img into the fat32 partition
3. modified WarheadsSE's oxnas_sata_boot.tgz, removed everything but stage1.wrapped which i converted to u-boot-spl.bin and ran it
4. created a root filesystem with armv5te as suggested by WareheadSE
5. placed the kernel in the root filesystem in the / and in the /boot directory (overwriting the one there)
6. tried to boot with no success

I see an MAC address from the pogo on my rooter, but it is not the same as pogo's own address. Front led on the pogo stays off all the time, it never asks for an IP address, also all log files on the sata hdd are empty.

I am definitively missing something, but do not know what....

(i have no serial cable to connect to the pogo now, so I do not see if it is doing anything)
schnee
 
Posts: 10
Joined: Tue Jul 24, 2012 9:01 pm

Re: A new kernel for oxnas

Postby DKAsokan » Mon Feb 24, 2014 2:22 pm

$this->bbcode_second_pass_quote('schnee', 'I') followed celemine1gig posts and downloaded the relevant files:
- kernel for the Pogo Pro
- uboot
Followed the wiki from kref (https://github.com/kref/u-boot-oxnas/wi ... t-for-sata) to create a sata disk:
1. created 2 partitions on the disk: 15 MB FAT32, rest of the disk as ext4
2. copied u-boot.img into the fat32 partition
3. modified WarheadsSE's oxnas_sata_boot.tgz, removed everything but stage1.wrapped which i converted to u-boot-spl.bin and ran it
4. created a root filesystem with armv5te as suggested by WareheadSE
5. placed the kernel in the root filesystem in the / and in the /boot directory (overwriting the one there)
6. tried to boot with no success

I see an MAC address from the pogo on my rooter, but it is not the same as pogo's own address. Front led on the pogo stays off all the time, it never asks for an IP address, also all log files on the sata hdd are empty.

What you are missing is u-boot.env. The default u-boot.env turns on netconsole

I am definitively missing something, but do not know what....

(i have no serial cable to connect to the pogo now, so I do not see if it is doing anything)


What you are missing is u-boot.env. The default u-boot.env just turns on netconsole and gives error ideboot not defined.[b][/b]if you can use netcosole and setup the environement as follows
u-bootenvironement for Loading Uimage and dtb from ext4 partition

setenv bootargs
setenv imgaddr 60000000
setenv fdtaddr 61000000
setenv ext4_uimage ext4load ide 0:2 ${imgaddr} /boot/uImage
setenv ext4_dtb ext4load ide 0:2 ${fdtaddr} /boot/dtbs/ox820-pogoplug-pro.dtb
setenv SET_dtb 'fdt addr ${fdtaddr} ; fdt header'
setenv bootnew bootm ${imgaddr} - ${fdtaadr}
setenv ext4_ideboot 'run ext4_uimage ; run ext4_dtb ; run SET_dtb ; run bootnew'
saveenv

I could successfully install Archlinux following wiki from kref and having serial cable for setting u-boot.env. i used the kernel image and rootfs from the following links

Download New Kernel 3.12.6.1 from ArchArm repository -
armv5 core linux-oxnas 3.12.6-1 The Linux Kernel and modules - PLX/Oxford Semiconductor NAS7820
link - http://eu.mirror.archlinuxarm.org/arm/c ... pkg.tar.xz

Latest rootfs - http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz

I am ready to share the uboot.env if anybody needs it . pm me @ dkasokan@gmail.com

D.K.Asokan

Edit : sorry i forgot to define ideboot myself.
setenv ideboot 'run ext4_uimage ; run ext4_dtb ; run SET_dtb ; run bootnew'
saveenv
DKAsokan
 
Posts: 2
Joined: Mon Jan 13, 2014 2:18 pm

Re: A new kernel for oxnas

Postby schnee » Tue Feb 25, 2014 10:37 am

Thanks for the detailed reply DKAsokan!

When I connect to my pogo on the netconsole, the only output I got is "2" and nothing more. When try to setup the u-boot.env and type all the lines you provided (or whatever) nothing is saved on the FAT32 partition....

Could it be that the FAT partition have to be a FAT16 partition?
schnee
 
Posts: 10
Joined: Tue Jul 24, 2012 9:01 pm

Re: A new kernel for oxnas

Postby DKAsokan » Tue Feb 25, 2014 6:31 pm

$this->bbcode_second_pass_quote('', ' ')When I connect to my pogo on the netconsole, the only output I got is "2" and nothing more.

i think netconsole isnot setup properly. setup properly you should see

Hit any key to stop autoboot: 3  2  1  0 .

and see the u-boot prompt.

The lines provided by me are u-boot command to set the environement

you can try copy the u-boot.env from this link and try.

https://www.mediafire.com/folder/ndi2ei7omduu1/pogoplugpro

D.K.Asokan
DKAsokan
 
Posts: 2
Joined: Mon Jan 13, 2014 2:18 pm

Re: A new kernel for oxnas

Postby coachskolari » Thu Feb 27, 2014 11:12 pm

How I got it working:

1) Partitioned the sata disk layout using gparted
1st partition 16MB FAT16 starting at 2048
2nd partition 80GB EXT4

2) mount the new sata partitions and then copy u-boot.env and u-boot.img to 1st partition
using the link of DKAsokan's post (u-boot.env)
download: https://www.mediafire.com/folder/ndi2ei ... ogoplugpro
& u-boot.img
download:
https://mega.co.nz/#!ZVtXTSSB!Je8rUX_Pm ... n_OwaRjbFo

3) and extract the latest rootfs to the 2nd partition
download: http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz

4) extract linux-oxnas arm package to rootfs (overwrite)
download: http://eu.mirror.archlinuxarm.org/arm/c ... pkg.tar.xz

5) install stage1 (u-boot-spl.bin) to sata disk
i prepared the sata script, just edit the install destination) and run it
https://mega.co.nz/#!ZVtXTSSB!Je8rUX_Pm ... n_OwaRjbFo

6) unmount and sync the sata disk


Hope this helps someone.

-> How would it be possible NOW to upgrade via pacman to get alarm up to date ?
coachskolari
 
Posts: 6
Joined: Sun Jan 12, 2014 12:49 pm

Re: A new kernel for oxnas

Postby Geoff » Fri Feb 28, 2014 1:19 am

$this->bbcode_second_pass_quote('coachskolari', '-')> How would it be possible NOW to upgrade via pacman to get alarm up to date ?

If you have the 3.12 kernel installed, the easiest way is to start with the arm5vte rootfs instead of the old 2.6-compatible oxnas rootfs.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm
Top

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 10 guests