LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-23-2011, 02:40 PM   #1
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Rep: Reputation: 5
ARMedSlack and Raspberry Pi?


Hi,

Does anyone know if and how I could install ARMedSlack 13.37 on a Raspberry Pi when I get one? The SoC is a Broadcom BCM2835. The Raspberry Pi cannot boot from USB, it boots from an SD card. How would I go about installing ARMedSlack on it?

Last edited by blue_k; 11-23-2011 at 03:30 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 11-23-2011, 06:47 PM   #2
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
Does anyone know if ARMedSlack supports the Broadcom BCM2835 SoC? I know the site says QEMU and Marvell are the two supported types, but I thought an ARM kernel would boot on any ARM architecture CPU as long as the CPU was at least the version of ARM it needed, am I wrong? Also, does anyone know how to get the installer on an SD card?
 
Old 11-24-2011, 05:45 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Perhaps it is wise to have a little patience and wait until the device is actually available.
We can speculate all we want, but you will only know for certain if people can get their hands dirty.

In time, the information on how to write the SD card will be available here: http://elinux.org/RaspberryPiBoardBe...ng_GNU.2FLinux

Eric
 
Old 11-24-2011, 11:20 AM   #4
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by Alien Bob View Post
Perhaps it is wise to have a little patience and wait until the device is actually available.
We can speculate all we want, but you will only know for certain if people can get their hands dirty.

In time, the information on how to write the SD card will be available here: http://elinux.org/RaspberryPiBoardBe...ng_GNU.2FLinux

Eric
You're right Eric, I am jumping the gun a little. Do you plan on getting a Raspberry Pi? If so, do you plan to try ARMedSlack on it?
 
Old 11-24-2011, 02:05 PM   #5
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Do you plan on getting a Raspberry Pi? If so, do you plan to try ARMedSlack on it?
Not attempting to answer for Eric but just to let you know - I plan on getting one of these and running ArmedSlack on it. As Eric suggests, I'll maybe wait to see what reports come up on the device before splashing out - even though they are amazingly cheap!
 
Old 11-24-2011, 04:31 PM   #6
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by bgeddy View Post
Not attempting to answer for Eric but just to let you know - I plan on getting one of these and running ArmedSlack on it. As Eric suggests, I'll maybe wait to see what reports come up on the device before splashing out - even though they are amazingly cheap!
Yeah, I will probably wait about a week or 2 after the R-pi comes out just to make sure there are no issues with the design. I hope ARMedSlack works out of the box, or with minimal changes. bgeddy, could you make a thread about it when you get one?
 
Old 11-25-2011, 06:07 AM   #7
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
Smile

Quote:
Originally Posted by blue_k View Post
Hi,

Does anyone know if and how I could install ARMedSlack 13.37 on a Raspberry Pi when I get one? The SoC is a Broadcom BCM2835. The Raspberry Pi cannot boot from USB, it boots from an SD card. How would I go about installing ARMedSlack on it?
I see that they are going to ship this with debian. If this is stock debian you shouldn't have any real problems with armedslack, as the mainline kernel should support everything. I have had a cursory look at the project and couldn't see if they intend to run a heavily modified debian install. The reason that I point this out is some embedded devices need a drivers that are outside of the mainline kernel tree, the dream plug being a case in point. I reckon that the geeks will be out of the blocks pretty quickly on this one, so you won't need to wait long for this to be running
 
Old 11-25-2011, 06:00 PM   #8
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
I hope ARMedSlack works out of the box, or with minimal changes. bgeddy, could you make a thread about it when you get one?
Sure thing. I installed ArmedSlack under qemu some time ago using the instructions found here and it worked fine but took quite some time. This was not on an arm1176 emulation however.
The latest version of qemu, qemu-1.0-rc3 is here and I have just downloaded and built that. This enables arm1176 emulation but unfortunately it won't boot the previous mentioned ArmedSlack install.
CNXSoft mentions problems with standard kernels on the Raspberry here and even supplies a prebuilt arm1176 kernel and Debian system. I have downloaded this and it run's in the new qemu arm1176 emulation fine. All this seems to indicate that the Raspberry may well not run the bog standard ArmedSlack kernel.
CNXSoft goes into details on building a new compatible kernel so even this won't be a show stopper.
The guy on this page mentions running a Raspberry emulation and there's more useful hints on that page.
The newer version of Ubuntu will run the latest qemu and there are pre built packages available - again linked to on this page - I have built this on Slackware and ran it on a Ubuntu VM as a test but on neither system will the ArmedSlack installation boot up.
This is by no means a show stopper but it does make initial installations a little more awkward on this machine. All these test are done under qemu though so they may not be a true indication of the real thing however other folks seem to suggest the same problems so beware.
 
Old 11-25-2011, 10:37 PM   #9
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by bgeddy View Post
Sure thing. I installed ArmedSlack under qemu some time ago using the instructions found here and it worked fine but took quite some time. This was not on an arm1176 emulation however.
The latest version of qemu, qemu-1.0-rc3 is here and I have just downloaded and built that. This enables arm1176 emulation but unfortunately it won't boot the previous mentioned ArmedSlack install.
CNXSoft mentions problems with standard kernels on the Raspberry here and even supplies a prebuilt arm1176 kernel and Debian system. I have downloaded this and it run's in the new qemu arm1176 emulation fine. All this seems to indicate that the Raspberry may well not run the bog standard ArmedSlack kernel.
CNXSoft goes into details on building a new compatible kernel so even this won't be a show stopper.
The guy on this page mentions running a Raspberry emulation and there's more useful hints on that page.
The newer version of Ubuntu will run the latest qemu and there are pre built packages available - again linked to on this page - I have built this on Slackware and ran it on a Ubuntu VM as a test but on neither system will the ArmedSlack installation boot up.
This is by no means a show stopper but it does make initial installations a little more awkward on this machine. All these test are done under qemu though so they may not be a true indication of the real thing however other folks seem to suggest the same problems so beware.
So all that really needs to be done is just recompiling the ARMedSlack kernel to support ARM11? Also, more then likely someone will post a kernel for ARMedSlack already to run on the R-Pi, then all that needs to be done is replacing the kernel in the ARMedSlack tree that I would download, right?
 
Old 11-26-2011, 01:27 AM   #10
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
So all that really needs to be done is just recompiling the ARMedSlack kernel to support ARM11? Also, more then likely someone will post a kernel for ARMedSlack already to run on the R-Pi, then all that needs to be done is replacing the kernel in the ARMedSlack tree that I would download, right?
Well its a little more complicated than that as you need to think about the initial install. If you are running the setup on the Rasberry itself it will mean you'll need a suitable kernel and re-jigged initial ram disk for the setup to boot to.

When compiling the kernel you may compile it on the Raspberry itself or use one of the freely available pre built kernels. You may also cross compile a kernel on a PC host as there are tools available. However think about how you are to first install Slackware on the hardware. If you plan on running the standard install on the Raspberry itself, as I mentioned, you'll need to modify the associated initial ram disk that setup boots to and a corrected kernel. This means recreating the bootable image for the device and the associated software for setup. The other way is to mount the sd card on another machine, format it and install Slackware ARM from the other host along with the corrected kernel. Again this is a little more complex than booting the install routines from the Raspberry - but all very doable. There are actually quite a few ways of achieving this.

Incidentally. I have left a message asking for any advice on the #armedslack channel on freenode.net and also sent an email asking for advice to Stuart Winter, the creator of Arm Slackware himself. I've only just made these requests for help and it's early days yet.

Myself I'm very confident it's all going to be relatively easy and I'm really looking forward to the release. I see there is to be an initial early release to Qt developers so they can cross compile their software - I wish I was one! Also - Nokia and ICS have 400 boards to give away free to Qt5 software developers.

Here's some more useful links - Slackware Arm, Raspberry Pi Forum, Raspberry Pi one eLinux.org - Embedded Linux Wiki and Raspberry Pi on Google+,CNXSoft – Embedded Software Development and the ARM company's details on the Arm1776, ICS Raspberry Pi Blog
 
Old 11-26-2011, 07:49 AM   #11
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,595

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
Quote:
Originally Posted by bgeddy View Post
This means recreating the bootable image for the device and the associated software for setup. The other way is to mount the sd card on another machine, format it and install Slackware ARM from the other host along with the corrected kernel. Again t$
If the installer is not able to boot (perhaps due to the amount of RAM it consumes or because it's not useful since it doesn't contain any support to install to your target device), one of the options is to use the mini root filesystems that
I provide for 13.37 or -current. When I was building the first port of Slackware to ARM I had the hard disk in and out of the ARM PC into an x86 PC to install the packages more times than I care to remember, but the miniroots remove that
necessity.

Quote:
Originally Posted by bgeddy View Post
Incidentally. I have left a message asking for any advice on the #armedslack channel on freenode.net and also sent an email asking for advice to Stuart Winter, the creator of Arm Slackware himself. I've only just made
these requests for help and it's early days yet. [..]
Oh - I haven't seen any!


Quote:
Originally Posted by bgeddy View Post

Myself I'm very confident it's all going to be relatively easy and I'm really looking forward to the release. [..]
It should be pretty easy to get ARMedslack working on it. The userland is built for the lowest common denominator (armv4) so it won't be as performant at certain tasks, compared to say Ubuntu or the Debian port that is aimed at a higher
baseline, but it'll still work. Then it's the usual case of building a new kernel.

People have already got ARMedslack running on the Sheevaplugs off an SD card.

I'd consider buying a Rasperry PI myself and just making it work - adding a new kernel and some instructions; but to be honest - I have absolutely no idea what I'd do with a Rasperry Pi! I can't use it as a build box since it has too little RAM, and I have enough ARM devices already. Hmm..
 
Old 11-26-2011, 07:51 AM   #12
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,595

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
Quote:
Originally Posted by blue_k View Post
Does anyone know if ARMedSlack supports the Broadcom BCM2835 SoC? I know the site says QEMU and Marvell are the two supported types, but I thought an ARM kernel would boot on any ARM architecture CPU as long as the CPU was at least the version of ARM it needed, am I wrong? Also, does anyone know how to get the installer on an SD card?
ARM doesn't work like that unfortunately - it'd be great if it did!
The ARMedslack userland will run on anything greater than an armv4 (the lowest common denominator that still exists in ARM devices in use today -- mostly), but you always need a specific kernel that knows how to address the *specific* ARM device you're using.

It's explained here:
http://www.linux-arm.org/pub/LinuxKe...ph-porting.pdf
 
Old 11-26-2011, 02:30 PM   #13
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
one of the options is to use the mini root filesystems that
I provide for 13.37 or -current.
@drmozes: Hey Stuart - great that you came in and thanks for the tips. The mini root option will certainly be a great help to a lot of people.
Quote:
Oh - I haven't seen any!
I posted on #armedslack around midnight (UK time) last night and sent the email around the same time to mozes@slackware.com - sorry if I've used the wrong address!

I have been looking at the Arm Slack mirror here and noticed lots of useful stuff - /armedslack-devtools/ particularly but there's loads of great resources there - thanks again for all the work.
 
Old 11-26-2011, 04:11 PM   #14
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by drmozes View Post
I'd consider buying a Rasperry PI myself and just making it work - adding a new kernel and some instructions; but to be honest - I have absolutely no idea what I'd do with a Rasperry Pi! I can't use it as a build box since it has too little RAM, and I have enough ARM devices already. Hmm..
They're not much money, and I'm sure you could figure out something to do with it. If anything, supporting R-Pi with an official build of ARMedSlack is a good reason to get one, as R-Pi is a big project, and I am sure there would be quite a few users who would use ARMedSlack if there were an official build that was easy to install and didn't need to be modified. It would really help both ARMedSlack and R-Pi if you made an official build. If you could make an official build for it, that would be great, I'm sure a lot of users would love that.

Last edited by blue_k; 11-26-2011 at 09:46 PM.
 
Old 11-27-2011, 05:41 AM   #15
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,595

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
Quote:
Originally Posted by bgeddy View Post
@drmozes: Hey Stuart - great that you came in and thanks for the tips. The mini root option will certainly be a great help to a lot of people.
I posted on #armedslack around midnight (UK time) last night and sent the email around the same time to mozes@slackware.com - sorry if I've used the wrong address!
I haven't seen anything still, it's best to join the mailing list and ask there. If I'm going to answer anything that's to do with the project, it's usually beneficial to more than just the person asking it.

I've been reading a little more around the Raspberry pi. Once the devices have shipped and the support is in the kernel.org kernel source I *might* have a look at it. I won't promise anything however, as the excitement level is currently only 0.1 on a scale of 0-10; my goal is for a desktop or netbook ARM machine. I'm much more interested in the Nvidia "Trimslice" at the moment.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Raspberry Pi project Dutch Master Linux - General 12 08-05-2012 06:48 AM
[SOLVED] VLC on ARMEDSlack compile fails ryerke Slackware 6 10-14-2011 11:24 AM
armedslack-13.37 - can't run any KDE apps? ahmadj Slackware 4 08-26-2011 08:09 AM
is it possible to install armedslack on a icy box IB-NAS6210 gtludwig Slackware 5 05-19-2011 09:15 PM
armedslack 13.37 tmfizzle Slackware 3 05-17-2011 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration