Doug Peterson | 20 Jun 2012 01:24
Picon

Hello and questions about getting Slackware on the Raspberry Pi

Hello all.

My name is Doug Peterson.  I am a long time Slackware user.

I received my Raspberry Pi this last week and am now working on
getting ArmedSlack working on it.

I was wondering if there is anyway to install ArmedSlack onto an SD
card from my Slackware laptop? I would like to be able to download the
ArmedSlack files, install them directly to the SD card and then move
the SD card to the Pi for use.

I have read the install docs on the website, but I am thinking that,
at least for the Pi, a way to directly create the system from a
Slackware box would be fun.

-Doug
Davide | 20 Jun 2012 08:45
Picon
Favicon

Re: Hello and questions about getting Slackware on the Raspberry Pi

I've no idea whether the installer works directly on that platform, but you can get the miniroot working as long as you have a working kernel for the hardware.
Look at the bottomb section in the supported platforms ... there is a paragraph on "unofficially supported platforms". Look at them to get an idea as to how to go about getting slackware on the PI.
Look at the mailing list archives as recently I recall someone else wrote they were working on getting slackware on the PI.

Regards
David



Da: Doug Peterson <galen.dp <at> gmail.com>
A: ArmedSlack <armedslack <at> lists.armedslack.org>
Inviato: Mercoledì 20 Giugno 2012 1:24
Oggetto: [ARMedslack] Hello and questions about getting Slackware on the Raspberry Pi

Hello all.

My name is Doug Peterson.  I am a long time Slackware user.

I received my Raspberry Pi this last week and am now working on
getting ArmedSlack working on it.

I was wondering if there is anyway to install ArmedSlack onto an SD
card from my Slackware laptop? I would like to be able to download the
ArmedSlack files, install them directly to the SD card and then move
the SD card to the Pi for use.

I have read the install docs on the website, but I am thinking that,
at least for the Pi, a way to directly create the system from a
Slackware box would be fun.

-Doug
_______________________________________________
ARMedslack mailing list
ARMedslack <at> lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


_______________________________________________
ARMedslack mailing list
ARMedslack <at> lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack
Stuart Winter | 20 Jun 2012 10:07
Picon

Re: Hello and questions about getting Slackware on the Raspberry Pi


> I've no idea whether the installer works directly on that platform, but you can get the miniroot working as
long as you have a working kernel for the hardware.
> Look at the bottomb section in the supported platforms ... there is a paragraph on "unofficially
supported platforms". Look at them to get an idea as to how to go about getting slackware on the PI.
> Look at the mailing list archives as recently I recall someone else wrote they were working on getting
slackware on the PI.

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=56&t=6132&start=25

There are some howtos and notes on that thread - although it's unofficial.

Jawkins will receive his RPi soon so we (or I) might have a look at doing
something official, since he won't use his RPi anyway ;-)

But tbh I'm not sure whether I want to support this device officially
(in-tree) because the RPi doesn't support initrds which means potentially
a big change to how I build the kernels and modules packages;
it needs a pre-made image rather than being setup via the installer (as
the installer is an initrd, albeit a large one).

I have briefly pondered a script to RPI-ify the 'miniroot', and include
some instructions.  I'm not sure how I'd handle the kernels yet - but if
support isn't in the vanilla kernel, I'd most likely keep the RPi out of
tree until it's supported without requiring patches.
Tyler T | 20 Jun 2012 18:36
Picon

Re: Hello and questions about getting Slackware on the Raspberry Pi

> But tbh I'm not sure whether I want to support this device officially
> (in-tree) because the RPi doesn't support initrds which means potentially
> a big change to how I build the kernels and modules packages;

In my experiments with ARMedSlack on a Seagate DockStar, I remember
using a mkboot utility to combine a kernel+initrd into a single blob
that u-Boot could boot. I don't remember the exact syntax and I
remember a gotcha or two (such as, the kernel had to be uncompressed)
but I did eventually get it to work.

Perhaps such a combined blob (two actually, one for the
kernel+installer and one for the kernel+initrd) could be included in
the distro for use on the RPi without any changes to the rest of the
ARMedSlack distro? It appears that U-Boot was recently ported to RPi.
Davide | 21 Jun 2012 08:45
Picon
Favicon

Re: Hello and questions about getting Slackware on the Raspberry Pi



>> But tbh I'm not sure whether I want to support this device officially
>> (in-tree) because the RPi doesn't support initrds which means potentially
>> a big change to how I build the kernels and modules packages;

>In my experiments with ARMedSlack on a Seagate DockStar, I remember
>using a mkboot utility to combine a kernel+initrd into a single blob
>that u-Boot could boot. I don't remember the exact syntax and I
>remember a gotcha or two (such as, the kernel had to be uncompressed)
>but I did eventually get it to work.

>Perhaps such a combined blob (two actually, one for the
>kernel+installer and one for the kernel+initrd) could be included in
>the distro for use on the RPi without any changes to the rest of the
>ARMedSlack distro? It appears that U-Boot was recently ported to RPi.

On my dockstar I use uImage and uinitrd so there's no need to bundle things in a single blob.


_______________________________________________
ARMedslack mailing list
ARMedslack <at> lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack
stanley garvey | 21 Jun 2012 02:42
Favicon

Re: Hello and questions about getting Slackware on the Raspberry Pi

On Jun 20, 2012 09:07 "Stuart Winter" <m-lists <at> biscuit.org.uk> wrote:
I have an 8gb img
Get it via:
rsync -avz --delete rsync.stanleygarvey.co.uk::SlackBerry/Image .
This is the whole armed slack for an 8 GB sd sandisk card sans KDE.
Sorry it's not zipped, it is very late. instructions:
dd bs=1M if=Slacberry_8GB.img  of=/dev/your_sd_card
(most likley sdc) check with mount! don't wipe your hard drive.
see rsync -avz  rsync.stanleygarvey.co.uk::SlackBerry
For a listing os the other files.\good night :)
_______________________________________________
ARMedslack mailing list
ARMedslack <at> lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack
stanley garvey | 21 Jun 2012 02:47
Favicon

Re: Hello and questions about getting Slackware on the Raspberry Pi



On Jun 21, 2012 01:42 "stanley garvey" <stanley <at> stanleygarvey.com> wrote:

On Jun 20, 2012 09:07 "Stuart Winter" <m-lists <at> biscuit.org.uk> wrote:
I have an 8gb img
Get it via:
rsync -avz --delete rsync.stanleygarvey.co.uk::SlackBerry/Image .
This is the whole armed slack for an 8 GB sd sandisk card sans KDE.
Sorry it's not zipped, it is very late. instructions:
dd bs=1M if=Slacberry_8GB.img  of=/dev/your_sd_card
(most likley sdc) check with mount! don't wipe your hard drive.
see rsync -avz  rsync.stanleygarvey.co.uk::SlackBerry
For a listing os the other files.\good night :)
root is root password is root
_______________________________________________
ARMedslack mailing list
ARMedslack <at> lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack
Doug Peterson | 12 Jul 2012 00:43
Picon

Re: Hello and questions about getting Slackware on the Raspberry Pi

Thank you.  I am rsyncing this now.  Will give it a try.

-Doug

On Wed, Jun 20, 2012 at 6:42 PM, stanley garvey
<stanley <at> stanleygarvey.com> wrote:
> On Jun 20, 2012 09:07 "Stuart Winter" <m-lists <at> biscuit.org.uk> wrote:
> I have an 8gb img
> Get it via:
> rsync -avz --delete rsync.stanleygarvey.co.uk::SlackBerry/Image .
> This is the whole armed slack for an 8 GB sd sandisk card sans KDE.
> Sorry it's not zipped, it is very late. instructions:
> dd bs=1M if=Slacberry_8GB.img  of=/dev/your_sd_card
> (most likley sdc) check with mount! don't wipe your hard drive.
> see rsync -avz  rsync.stanleygarvey.co.uk::SlackBerry
> For a listing os the other files.\good night :)
>
> _______________________________________________
> ARMedslack mailing list
> ARMedslack <at> lists.armedslack.org
> http://lists.armedslack.org/mailman/listinfo/armedslack
>
stanley garvey | 12 Jul 2012 16:34
Favicon

Re: Hello and questions about getting Slackware on the Raspberry Pi

On Jul 11, 2012 23:43 "Doug Peterson" <galen.dp <at> gmail.com> wrote:
Thank you. I am rsyncing this now. Will give it a try.

-Doug


On Wed, Jun 20, 2012 at 6:42 PM, stanley garvey
<stanley <at> stanleygarvey.com> wrote:
I have an 8gb img
Get it via:
rsync -avz --delete rsync.stanleygarvey.co.uk::SlackBerry/Image .
This is the whole armed slack for an 8 GB sd sandisk card sans KDE.
Sorry it's not zipped, it is very late. instructions:
dd bs=1M if=Slacberry_8GB.img of=/dev/your_sd_card
(most likley sdc) check with mount! don't wipe your hard drive.
see rsync -avz rsync.stanleygarvey.co.uk::SlackBerry

Thanks for trying it out Doug.
Please replace or edit the file /etc/fstab with :

/dev/mmcblk0p3        swap             swap        defaults         0   0
/dev/mmcblk0p2        /                ext4        defaults         1   0
/dev/mmcblk0p1         /boot          vfat        defaults         0   0
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
#/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0

I messed up and forgot to change this file in the image, oddly the pi boots with an incorrect /etc/fstab anyhow.
Some Caveats. the boot will stop with an annoying message regarding the root file system being RW, just continue by hitting enter. You can hack the script /etc/rc.d/rc.S if you like, I chose not to.
The Pi has no real time clock and starting the ntp daemon does not set the time, the ntpdate command  will set the time example:
ntpdate ntp.stanleygarvey.co.uk
I have not investigated why this occurs.

I did not think that there was much interest in the image and so had not updated it. I have a couple of slackbuilds that I will upload, this weekend:
 A script by Hexxeh to update the raspberry pi kernel and firmware also two librarys to enable the use of the hardware accelerated video player 'omxplayer'.
 Let me know how you get along.
Regards
Stanley




_______________________________________________
ARMedslack mailing list
ARMedslack <at> lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack
Rick Miles | 21 Jun 2012 09:05
Picon

Re: Hello and questions about getting Slackware on the Raspberry Pi

On Wed, 2012-06-20 at 07:45 +0100, Davide wrote:
> I've no idea whether the installer works directly on that platform,
> but you can get the miniroot working as long as you have a working
> kernel for the hardware.
> Look at the bottomb section in the supported platforms ... there is a
> paragraph on "unofficially supported platforms". Look at them to get
> an idea as to how to go about getting slackware on the PI.
> Look at the mailing list archives as recently I recall someone else
> wrote they were working on getting slackware on the PI.
> 
> 
> Regards
> David
> 
> 
It has been done, sort of, here
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=2&t=6103

I had this running until my pi died and I was quite impressed. I'm
looking forward to my next pi but this time I hope to put it together
myself if I can eat enough fish :^)
Davide | 21 Jun 2012 09:20
Picon
Favicon

Re: Hello and questions about getting Slackware on the Raspberry Pi


>> I've no idea whether the installer works directly on that platform,
>> but you can get the miniroot working as long as you have a working
>> kernel for the hardware.
>> Look at the bottomb section in the supported platforms ... there is a
>> paragraph on "unofficially supported platforms". Look at them to get
>> an idea as to how to go about getting slackware on the PI.
>> Look at the mailing list archives as recently I recall someone else
>> wrote they were working on getting slackware on the PI.
>> Regards
>> David
>>
>It has been done, sort of, here
>http://www.raspberrypi.org/phpBB3/viewtopic.php?f=2&t=6103
>
>I had this running until my pi died and I was quite impressed. I'm
>looking forward to my next pi but this time I hope to put it together
>myself if I can eat enough fish :^)

What exactly do you eman by "until my pi died" ?
Did your RPI hardware fail ? or did you have some data faliure ?

I had in mind to buy one at some time ... but if you had a hardware faliure in shuch a short time that's putting me off !

Regards
David
_______________________________________________
ARMedslack mailing list
ARMedslack <at> lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack
Rick Miles | 21 Jun 2012 09:43
Picon

Re: Hello and questions about getting Slackware on the Raspberry Pi

On Thu, 2012-06-21 at 08:20 +0100, Davide wrote:
> 
> >> I've no idea whether the installer works directly on that platform,
> >> but you can get the miniroot working as long as you have a working
> >> kernel for the hardware.
> >> Look at the bottomb section in the supported platforms ... there is
> a
> >> paragraph on "unofficially supported platforms". Look at them to
> get
> >> an idea as to how to go about getting slackware on the PI.
> >> Look at the mailing list archives as recently I recall someone else
> >> wrote they were working on getting slackware on the PI.
> >> Regards
> >> David
> >> 
> >It has been done, sort of, here
> >http://www.raspberrypi.org/phpBB3/viewtopic.php?f=2&t=6103
> >
> >I had this running until my pi died and I was quite impressed. I'm
> >looking forward to my next pi but this time I hope to put it together
> >myself if I can eat enough fish :^)
> 
> What exactly do you eman by "until my pi died" ?
> Did your RPI hardware fail ? or did you have some data faliure ?
> 
> I had in mind to buy one at some time ... but if you had a hardware
> faliure in shuch a short time that's putting me off !

The you have to be careful with what you use for a power supply and what
you use in the way of a powered usb hub. You should not have power into
the pi's two usb ports from a powered usb hub, you should be certain of
what your wall wart is supplying, not too little, not too much. There
has been enough discussion about this on the pi forum. the elinux
website has some very good info and also a list of good hubs, power
supplies and periphials.

I'm not quite sure what fried my pi, either a dodgy soniq usb hub, an
arc between connectors when plugging the hdmi into a monitor while the
pi was booting or both. The neither would have been an issue with a
normal pc. You just have to treat the pi a little nicer. I'm really
looking forward to getting my hands dirty with the next one.
Doug Peterson | 12 Jul 2012 00:22
Picon

Re: Hello and questions about getting Slackware on the Raspberry Pi

Hi all,

I just wanted to say thank you for all the reply's I received.  I also
want to apologies for not replying.  The same day I first posted my
questions about ArmedSlack on the Raspberry Pi, a loved one ended up
in the hospital with ARDS.  I have not had much time to catch up on
things like this.  He is now starting to do better, so I am turning
back to this stuff.

-Doug

Gmane