Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Dec 2014, 16:00
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
ARM... Again... Any chance for Puppy on the 25 USD PC?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 5 [71 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
Atle

Joined: 19 Nov 2008
Posts: 295
Location: Oslo, Norway

PostPosted: Wed 03 Aug 2011, 09:39    Post subject:  ARM... Again... Any chance for Puppy on the 25 USD PC?  

Yes.. there are plenty of threads on ARM, and if I am not wrong, its possible to develop support for the ARM processor, but one of the problems are that they are not unified.

But if one takes a look at the soon to come "Tiny Mini" RasberryPi; it seems like they might have at least a cool piece of hardware and only one kind of a ARM processor to support.

I am not technical my self at this level, but it seems like a future kind of a gadget, that could be very useful. No comments really needed here, as I am not able to develop this my self, and as a humble person, I can only hope Laughing



http://www.raspberrypi.org/
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
darkcity


Joined: 23 May 2010
Posts: 2481
Location: near here

PostPosted: Wed 03 Aug 2011, 11:10    Post subject:  

they talk of Ubuntu and Fedora support. as Puppy is fairly repository independent you think it may be possible. is there an Arm version of Slack?
_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Atle

Joined: 19 Nov 2008
Posts: 295
Location: Oslo, Norway

PostPosted: Wed 03 Aug 2011, 11:21    Post subject:  

darkcity wrote:
is there an Arm version of Slack?


Can this be it? http://www.armedslack.org/
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
darkcity


Joined: 23 May 2010
Posts: 2481
Location: near here

PostPosted: Wed 03 Aug 2011, 11:22    Post subject:  

to answer my own question, here is an Arm version of Slack-
http://www.armedslack.org/doku.php?id=introduction
Back to top
View user's profile Send private message Visit poster's website 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Wed 03 Aug 2011, 15:50    Post subject:  

I replied to someone about this before (maybe in the PPC thread): the main problem (except for the difference in HW-detection etc.) would be getting the initrd stuff (statically) compiled for ARM and probably modifying the init script.
If someone were to get Barry one of these it might help, but that also depends on if he's interested at all...

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2481
Location: near here

PostPosted: Thu 04 Aug 2011, 03:56    Post subject:  

Haven't the Slackware ARM already tackled this problem?

Has Barry ever mentioned been interested in ARM hardware?

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
darkcity


Joined: 23 May 2010
Posts: 2481
Location: near here

PostPosted: Thu 04 Aug 2011, 04:45    Post subject:  

QEMU can emulate an ARM board

http://wiki.qemu.org/Main_Page

Would it be possible to test initrd on this?

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2387
Location: UK

PostPosted: Thu 04 Aug 2011, 05:39    Post subject:  

Sorry for weighing in on this, and being such a non-expert...
Bit even I (the total noob!) got very close to completing the build of a working ARM-supported toolchain, using ttylinux..

If I remember correctly, the target system is a beagleboard, or similar.

I even edited the config and build scripts before I started, so that it downloaded and built versions of glibc, busybox, etc,
that are being used in Wary (I matched it as best I could).

But I think I messed things up, or at least the build script could do nearly every part, except 1 thing.. it could not build busybox correctly..

I could not find a busybox binary for beagleboard/ARM, so had to leave it there..

But my impression was that anyone with a bit of knowledge (unlike myself) could get the toolchain built, but as Dougal says, updating all the puppy scripts for ARM devices, and compiling all the bins needed by those scripts would be a huge job in itself.

Plus, I got thinking, which ARM devices are we talking about? Puppy cannot be expected to simply "work on ARM devices" ...

Which devices are we targeting? Cos I'd happily buy one of those RasberryPi things..

And... Just a thought... What would happen if Woof was run from inside the ARM toolchain?

I know a working ARM puppy would NOT be the result, but would it build most packages?
(that maybe a start!)

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2481
Location: near here

PostPosted: Thu 04 Aug 2011, 07:50    Post subject:  

true there are different ARM architectures, but I think the RasPi uses a standard modern variety. I would like a project at support that architecture, I can offer some help but I'm noob too.

BusyBox is a cut down version of the linux shell, do any of the linux distros supporting Arm use Busybox?

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2387
Location: UK

PostPosted: Thu 04 Aug 2011, 10:08    Post subject:  

darkcity wrote:
true there are different ARM architectures, but I think the RasPi uses a standard modern variety. I would like a project at support that architecture, I can offer some help but I'm noob too.

Yes, there is the ARM CPU to think about... But also the other hardware components which, altogether, make up the target device.

Quote:
do any of the linux distros supporting Arm use Busybox?

yes many.

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2297

PostPosted: Thu 04 Aug 2011, 13:11    Post subject:  

To configure busybox for an alternate arch, you need to create the conf file by manually running 'make menuconfig' in the bbox sources -you need to setup options for the ARCH and the PATH to the cross-compiler you are using. Then copy the '.config' created into the sources during the (automated) build process.
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2387
Location: UK

PostPosted: Thu 04 Aug 2011, 16:35    Post subject:  

amigo wrote:
To configure busybox for an alternate arch, you need to create the conf file by manually running 'make menuconfig' in the bbox sources -you need to setup options for the ARCH and the PATH to the cross-compiler you are using. Then copy the '.config' created into the sources during the (automated) build process.

Thanks for the info, I might have another go at it one day..

I thought hhe build script is supposed to handle all the ARCH stuff.. As far as I remember, all ttylinux builds scripts (for all the different archs available) are run inside the same toolchain, which you gotta chroot into, and those builscripts are themselves specific to the final arch you want (ARM, PPC, etc)..

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Fri 05 Aug 2011, 11:19    Post subject:  

sc0ttman wrote:
Sorry for weighing in on this, and being such a non-expert...
Bit even I (the total noob!) got very close to completing the build of a working ARM-supported toolchain, using ttylinux..

You don't really need to compile a toolchain:
- for the main filesystem, you have the distros like Ubuntu and Fedora etc. or can even use something like Open Embedded
- for the initrd you can just download a uClibc filesystem image from Rob Landley and compile in it what you want (you extract it, mount it and then chroot into it).
The problem is that there are a few puppy-specific binary programs, most likely written in C (like elspci), which need to be ported to ARM and then compiled, plus the various HW-detection modifications to scripts.

And keep in mind that until device-trees for ARM are merged to mainline, kernels for ARM tend to be compiled per-board -- so you'll be creating a ARM-Puppy-$board_name for each platform you want to support (like CyanogenMod do).

And don't forget that installing to ARM tends to consist of flashing ROM images...

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2481
Location: near here

PostPosted: Fri 05 Aug 2011, 12:29    Post subject:  

from what I can work out this things boots via the GPU! it will have an SD card with FAT32 file system. So hopefully doesn't need ROM flashing to boot different OS?
Back to top
View user's profile Send private message Visit poster's website 
obarthelemy

Joined: 17 Nov 2010
Posts: 5

PostPosted: Tue 09 Aug 2011, 23:47    Post subject: it actually does boot via the gpu  

for what must be an extremely good reason, their boot process is:
- boot gpu
- have gpu intialize display
- have gpu mount sdcard
- load os kernel image from sdcard
- jump to 0000x0

source: http://elinux.org/RaspberryPiBoard#Power_Adapters
"The boards do not include NAND or NOR storage - everything is on the SD card, which has a FAT32 partition with GPU firmware and a kernel image, and an EXT2 partition with the rootfs.

We're not currently using a bootloader - we actually boot via the GPU, which contains a proprietary RISC core (wacky architecture Wink . The GPU mounts the SD card, loads GPU firmware and brings up display/video/3d, loads a kernel image, resets the SD card host and starts the ARM.

You could replace the kernel image with a bootloader image, and that would work fine."
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 5 [71 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0914s ][ Queries: 11 (0.0044s) ][ GZIP on ]