DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-01-01 17:02:06

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Will Debian (chroot) ARMEL work on DNS-323 (as opposed to ARM)?

Hello,

I've succesfully followed the howto on how to install a Debian chroot. I even managed to run it from my usb stick, so I'm all good there.

One thing I run into is that some packages are not built (anymore) for arm architecture.

The howto on http://dns323.kood.org/howto:chroot_debian is on installing a Debian for arm.

Some irc contact with Debian maintainers resulted in this

Code:

14:37:33 < blathijs> What's the deal with the arm port? I read that it's
                     deprecated, but it seems you are trying to recertify it?
14:37:55 < blathijs> Also, is the arm architecture big endian, or is the
                     different between arm and armel just the ABI used?
14:38:39 < blathijs> I'm asking because I maintain a package (openttd) that's
                     not being built for arm (but it is built for armel). I
                     can't find why this is, though. Perhaps because the
                     package is in contrib?
14:39:38 < aba> forget arm, it's only armel these days.
14:40:30 < pusling> blathijs: arm isn't built for unstable any longer
14:41:57 < blathijs> And armel runs on the same hardware as arm does?
14:42:11 < aba> basically yes
14:42:31 < aba> (well, as this are newer kernels, there is always some gap)
14:42:52 < aba> but that's quite the same if you look at i386 and compare
                oldstable and unstable.
14:43:30 < pusling> armel doesn't run on anything older than armv4t

Which means 2 things (http://wiki.debian.org/ArmEabiPort):

A - arm is considered more or less deprecated
B - armel should run on the DNS-323/CH3SNAS since it's ARMv5t.

Anyone ever tried to run Debian armel on the DNS-323/CH3SNAS?

EDIT: While writing this post I found some interesting posts on this:

http://curvedbrain.org/2009/03/10/insta … an-dns323/
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503040

Nevertheless, I am still interested in your opinions.

First question, is the kernel new enough to chroot a Debian ARMEL install?

EDIT2: Found some thread in this forum showing an armel install of debian.

http://dns323.kood.org/forum/viewtopic.php?id=4330

Unfortunetaly I don't have a linux machine do to do the bootstrapping from, only Win64.

Last edited by Opperpanter (2010-01-01 18:16:58)

Offline

 

#2 2010-01-01 18:43:39

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: Will Debian (chroot) ARMEL work on DNS-323 (as opposed to ARM)?

I tried to create a new armel chroot from my current arm debian chroot, as specified here: http://wiki.debian.org/ArmEabiHowto

Code:

debootstrap --verbose --arch armel --foreign lenny /armel-chroot http://ftp.de.debian.org/debian
chroot /armel-chroot /debootstrap/ --second-stage

First step runs ok, but the chroot gives me a segmentation fault (both from debian chroot, as from ffp0.5):

Code:

root@NAS:/hd1/linux# chroot /armel-chroot /debootstrap/debootstrap --second-stage
Segmentation fault

I am using CH3SNAS, firmware 1.05b5.

Last edited by Opperpanter (2010-01-01 19:03:02)

Offline

 

#3 2010-01-01 18:51:14

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: Will Debian (chroot) ARMEL work on DNS-323 (as opposed to ARM)?

obviously armel runs on the dns-323, because it even runs natively.

Offline

 

#4 2010-01-02 11:22:37

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Will Debian (chroot) ARMEL work on DNS-323 (as opposed to ARM)?

oxygen wrote:

obviously armel runs on the dns-323, because it even runs natively.

Doesn't the native version use it's own kernel? Then it doesn't prove that the stock kernel can run armel Debian.

Offline

 

#5 2010-01-02 13:18:50

mushanga
Member
Registered: 2009-06-26
Posts: 46

Re: Will Debian (chroot) ARMEL work on DNS-323 (as opposed to ARM)?

As what I know of, no CH3SNAS or DNS323 firmware can chroot an armel linux, even last firmwares.
Because these firmwares use a now "old" and arm kernel version 2.6.12 not armel compatible.
If you want to use an armel debian without overwrite the DNS323 flash memory (which is the goal of a chroot, isn't it?) you must use the ffp reload package with an armel kernel.
Sadly, I've tried this several times and never succeeded until now... (my DNS is a rev. C1 BTW).

Offline

 

#6 2010-04-22 18:10:15

pheaver
New member
Registered: 2010-04-21
Posts: 1

Re: Will Debian (chroot) ARMEL work on DNS-323 (as opposed to ARM)?

Has anyone gotten armel chroot working on DNS323 yet?

Offline

 

#7 2010-11-22 03:24:27

gnubie
New member
Registered: 2010-11-22
Posts: 1

Re: Will Debian (chroot) ARMEL work on DNS-323 (as opposed to ARM)?

I have the same scenario as @Opperpanter.  I followed the guide http://dns323.kood.org/forum/viewtopic.php?id=4330 and when I run the chroot part I get a seg fault too sad
I was able to get etch running via http://dns323.kood.org/howto:chroot_debian#the_easy_way and then upgrade that to Lenny, but that is running on arm, not armel

Seems that armel doesn't work, gutted sad
However it may be best to be on debian stable anyway, but i suppose it will be depricated eventually.

If anyone finds another way of upgrading to armel or a different/new os that supports arm then let us know.

Awesome community around the 323 here - learnt lots so far!

Dave

Offline

 

#8 2010-11-22 10:22:04

haim
Member
Registered: 2010-01-13
Posts: 83

Re: Will Debian (chroot) ARMEL work on DNS-323 (as opposed to ARM)?

How about flashing to Alf-F firmware, thats a new kernel.  Then all this armel halloy should be a piece of cake for you smarty pants guys.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB