A new kernel for oxnas

This forum is for all other ARMv5 devices

Re: A new kernel for oxnas

Postby crckmc » Mon Dec 02, 2013 4:20 pm

I'm currently using Arch and I think the mac-address is taken from /usr/local/mac_addr.

Dec 31 18:00:07 alarm kernel: [ 5.916784] eth0: device MAC address 00:25:31:01:02:03
Dec 31 18:00:07 alarm kernel: [ 7.920532] libphy: stmmac-0:00 - Link is Up - 1000/Full

This is indeed the MAC set in mac_addr. I think setting it to a static ip changed dhcpcd's behaviour because now I don't get the timeout message anymore. This is my everything.log after a boot http://pastebin.com/CUjvktPZ
Anything suspicious in there?

Thanks

crckmc
crckmc
 
Posts: 8
Joined: Sun Nov 17, 2013 9:05 am

Re: A new kernel for oxnas

Postby navym » Mon Dec 02, 2013 4:32 pm

you can edit the line in ox820.dts to set a fixed mac address,
$this->bbcode_second_pass_quote('', ' ') mac-address = [000000000000]; /* Filled in by U-Boot */


or use new u-boot and load the kernel and device tree blob separately , let u-boot do the job according to ethaddr env variable.
navym
 
Posts: 17
Joined: Tue Sep 24, 2013 2:11 am

Re: A new kernel for oxnas

Postby celemine1gig » Mon Dec 02, 2013 4:33 pm

@navym:
Kirkwood was just an example, because I recently configured a 3.12 kernel for my Goflex-Net.
I will explain it in detail, once I tested it all.
It just seems that with a similar configuration (of course with the necessary difference for the different SOCs), I don't get a working kernel image with your 3.12 sources. I will look into it in detail the next few days.

At the moment I would guess that console over UART does not work, if CONFIG_DEBUG_LL (and its sub options) is not set. Will have to test again, though, as I said.
celemine1gig
 
Posts: 54
Joined: Fri Apr 26, 2013 7:55 pm

Re: A new kernel for oxnas

Postby crckmc » Mon Dec 02, 2013 4:57 pm

$this->bbcode_second_pass_quote('', 'y')ou can edit the line in ox820.dts to set a fixed mac address,


I edited the file, compiled and "flashed" the kernel but there is still no difference.
I pulled the ethernet plug after some time to see if it was still responding and the message is found in the log so it is kind of running...
crckmc
 
Posts: 8
Joined: Sun Nov 17, 2013 9:05 am

Re: A new kernel for oxnas

Postby navym » Mon Dec 02, 2013 5:02 pm

@crckmc
Seems a impatient dhcpcd meets a slowly starting eth0
You can try to tweak dhcpcd yourself or try the latest armv5 rootfs or other distributions.
Even if it does not work, you can get better support from the community.
http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz
navym
 
Posts: 17
Joined: Tue Sep 24, 2013 2:11 am

Re: A new kernel for oxnas

Postby ShapeShifter499 » Mon Dec 02, 2013 5:31 pm

Does this kernel support the lights and wifi of the pogoplug pro?
ShapeShifter499
 
Posts: 34
Joined: Mon Nov 25, 2013 12:24 pm

Re: A new kernel for oxnas

Postby crckmc » Mon Dec 02, 2013 5:33 pm

Tried the newest rootfs but the plug won't boot with it. Logs don't get created and LED stays off...

Will try debian now...

@celemine1gig

can i use your debian sata disk script and change the kernel afterwards?
crckmc
 
Posts: 8
Joined: Sun Nov 17, 2013 9:05 am

Re: A new kernel for oxnas

Postby celemine1gig » Mon Dec 02, 2013 5:37 pm

Yes, just write the new kernel Image to the hdd's first partition.

Just like in the script, with the appropriate device name of course:

$this->bbcode_second_pass_code('', 'dd if=/path/to/uImage of=/dev/sd[X]1 bs=512')
celemine1gig
 
Posts: 54
Joined: Fri Apr 26, 2013 7:55 pm

Re: A new kernel for oxnas

Postby ShapeShifter499 » Mon Dec 02, 2013 5:40 pm

Added to my last question if this kernel supports the lights and wifi.... How do you guys go about cross compiling this kernel? I have a debian wheezy system and I'm having the hardest time getting a cross compiling system going that will compile this kernel and uboot.
ShapeShifter499
 
Posts: 34
Joined: Mon Nov 25, 2013 12:24 pm

Re: A new kernel for oxnas

Postby crckmc » Mon Dec 02, 2013 6:00 pm

What is the problem with cross compiling? I started today with a debian wheezy system and I have to say it was quite easy getting it to compile. If you follow the given instructions and install all the needed tools it should work
crckmc
 
Posts: 8
Joined: Sun Nov 17, 2013 9:05 am

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 48 guests