General NAS-Central Forums

Welcome to the NAS community
It is currently Tue Mar 28, 2017 1:46 pm

All times are UTC




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sun Mar 17, 2013 10:30 pm 
Offline

Joined: Wed Dec 26, 2012 10:16 pm
Posts: 8
I compiled reloaded.ko kernel module by Mijzelf too with some warnings but no erros:
Code:
WARNING: Symbol version dump /usr/src/linux-2.6.24.4/Module.symvers is missing; modules will have no dependencies and modversions.
CC [M]  /usr/src/reloaded/main.o
/usr/src/reloaded/main.c: In function 'reloaded_init':
/usr/src/reloaded/main.c:208: warning: passing argument 1 of 'phys_to_virt' makes integer from pointer without a cast
AS [M]  /usr/src/reloaded/reboot.o
AS [M]  /usr/src/reloaded/proc-arm926.o
CC [M]  /usr/src/reloaded/arm-mmu.o
LD [M]  /usr/src/reloaded/reloaded.o
Building modules, stage 2.
MODPOST 1 modules
CC      /usr/src/reloaded/reloaded.mod.o
LD [M]  /usr/src/reloaded/reloaded.ko
make[1]: Leaving directory `/usr/src/linux-2.6.24.4'

But was unable to boot my own eTrayz kernel from usb (using it with my own cross-compiled kernel based on etrayz source with usb support and squeezy armel rootfs with udev from lenny). With no serial console im blind :(
Can you post your reloaded.sh and boot dir contents?

Thanks in advance


Top
 Profile  
 
PostPosted: Mon Mar 18, 2013 2:45 pm 
Offline

Joined: Sat Jan 12, 2013 6:23 pm
Posts: 20
Ok, I attach my reloaded.ko for etrayz kernel 2.6.24.4 and my reload.sh script.
Make sure you put your own mac_address in and your correct usb boot device!
Also pay attention to the fact that reloaded.ko will boot a 'zImage' kernel...
suc6! ;)
edit: seems I'm not allowed to upload these files. I will upload somewhere else and post link...
here we go:
https://dl.dropbox.com/u/28299152/reloaded.2.6.24.4.ko
https://dl.dropbox.com/u/28299152/reload-etrayz.sh


Top
 Profile  
 
PostPosted: Mon Mar 18, 2013 6:58 pm 
Offline

Joined: Wed Dec 26, 2012 10:16 pm
Posts: 8
Thanks your reply.

After "reload-etrayz.sh /dev/sdc1" looks like hdd read/write a couple of seconds at insmod command and etrayzs usb led start blinking and stay unresponsive...

Usb stick ext3 formatted with debian-6.07-armel rootfs with udev from lenny
my boot dir files:
initrd (empty file)
reload.sh
uImage
zImage (extracted from uImage: dd if=uImage of=zImage bs=64 skip=1)

Im a bit lost.
Are you using etrayz kernel (uImage) and its modules as is, copied on usb stick?
A custom kernel with no cmdline? or a custom kernel with the same cmd line from etrayzs /proc/cmdline?


Top
 Profile  
 
PostPosted: Mon Mar 18, 2013 8:13 pm 
Offline

Joined: Sat Jan 12, 2013 6:23 pm
Posts: 20
Rufuss wrote:
Thanks your reply.

After "reload-etrayz.sh /dev/sdc1" looks like hdd read/write a couple of seconds at insmod command and etrayzs usb led start blinking and stay unresponsive...

Is that correct usb device ? Look at my remarks earlier...
Quote:
Usb stick ext3 formatted with debian-6.07-armel rootfs with udev from lenny
my boot dir files:
initrd (empty file)
reload.sh
uImage
zImage (extracted from uImage: dd if=uImage of=zImage bs=64 skip=1)

The zImage is in the arch compile tree as a separate image, no extraction from uImage.
What compile chain are you using ?
Quote:
Im a bit lost.
Are you using etrayz kernel (uImage) and its modules as is, copied on usb stick?
A custom kernel with no cmdline? or a custom kernel with the same cmd line from etrayzs /proc/cmdline?

Using the zImage, reloaded.ko and reload.sh, I uploaded and 2.6.24.4 kernel modules from the compilation. I only included the usb drivers in my compiled kernel...
Thats it, maybe experiment some more... goodluck !


Top
 Profile  
 
PostPosted: Tue Mar 19, 2013 7:07 pm 
Offline

Joined: Wed Dec 26, 2012 10:16 pm
Posts: 8
I see... So reloaded.ko will boot a 'zImage' kernel and uImage is not needed. I thought that both was needed so i vas compiling kernel with "make -C kernel uImage"

Im cross compiling kernel under Ubuntu 12.10, installed for task, with this params:
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-

Seems that here is my error, i think. Im gonna start it over and emulate an ARM Plaform with QEMU to try to see what is happening.

Thank you so much


Top
 Profile  
 
PostPosted: Wed Mar 20, 2013 1:51 am 
Offline

Joined: Sat Jan 12, 2013 6:23 pm
Posts: 20
Rufuss wrote:
export CROSS_COMPILE=arm-linux-gnueabihf-

I'm using Debian 6 emdebian toolchain
ARCH=arm
CROSS_COMPILE=arm-linux-glibcgnueabi


Last edited by intrax on Tue Mar 26, 2013 1:20 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Mar 25, 2013 11:47 pm 
Offline

Joined: Wed Dec 26, 2012 10:16 pm
Posts: 8
Done !!! :D Thanks
im going to dump uboot and change cmdline to try to boot from sda...


Top
 Profile  
 
PostPosted: Tue Mar 26, 2013 1:23 pm 
Offline

Joined: Sat Jan 12, 2013 6:23 pm
Posts: 20
Rufuss wrote:
Done !!! :D Thanks
im going to dump uboot and change cmdline to try to boot from sda...

No possibile!
You will have to compile a fresh uBoot from source (see title of this thread), because the current uBoot has no usb support...
I'm still trying to get hold of uBoot sources for oxnas...
You're welcome to join the quest... :)


Top
 Profile  
 
PostPosted: Thu May 02, 2013 2:22 pm 
Offline

Joined: Thu May 02, 2013 2:08 pm
Posts: 2
There must be an easier way of installing debian without surgically opening etrayz and tinkering with the serial cable.

Is it possible for you to create an image of your system partition so the rest of us non-experts can simply write it on our drives?

Xtreamer just officially dropped the etrayz application installer. No more web apps can be installed anymore, :(


Top
 Profile  
 
PostPosted: Sat May 11, 2013 7:07 pm 
Offline

Joined: Sat Jan 12, 2013 6:23 pm
Posts: 20
RaymondX wrote:
There must be an easier way of installing debian without surgically opening etrayz and tinkering with the serial cable.

right... you find it?

RaymondX wrote:
Is it possible for you to create an image of your system partition so the rest of us non-experts can simply write it on our drives?

sorry... you do it!

RaymondX wrote:
Xtreamer just officially dropped the etrayz application installer. No more web apps can be installed anymore, :(

this your contribution ?


Top
 Profile  
 
PostPosted: Sun May 12, 2013 2:27 am 
Offline

Joined: Thu May 02, 2013 2:08 pm
Posts: 2
I can probably try another distro such as archlinux arm so I can contribute in this forum.

But first, I really need a step-by-step detail on how you installed debian on yours. Youre not keeping it to yourself are you?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group