Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-07-2018, 09:41 AM   #1
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 648

Rep: Reputation: 38
cross compiling of slackwareARM on a slackware system?

Hi all,
I am on vacations and have a rasberry pi3 with me, a laptop (running slackware 14.0) and a usb stick (8GB) and an SDCard (16GB). I do not have an hdmi monitor nor usb kb/mouse to connect to the rasberry pi 3. And I would like to install slackwareARM to the SDCard and make rpi3 boot, with SSH enabled so I can connect directly to it afterwards.

Is there a tutorial and perhaps the necessary scripts available to cross compile a whole image on the laptop and just copy it over to the sdcard ?

I am looking for something similar to yocto build system and/or the liveslack scripts that alienBob has assembled in the past.

thank you in advance for your help
Old 08-07-2018, 10:02 AM   #2
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 732

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
As you don't have the possibility to hook your Pi board to a TV/Monitor, go for the Manual installation method:
"Incidentally if you download a recent version of raspbian this procedure will create bootable images for the RPi, RPi 2, RPi 3, and RPi Zero."
And while you're preparing and still have your SDCard mounted, make sure /etc/rc.d/rc.sshd is executable and temporary put in /etc/rc.d/rc.inet2, just after "#!/bin/sh" your manual LAN IP configuration:
/sbin/ifconfig eth0 netmask up
You'll then be able to ssh to your Pi and do the rest of the configuration.
This might be also helpful:
When issuing the installpkg, point it to the root folder where your SDCard is mounted:
installpkg --root /mnt/sdcard/
- the Slackware ARM minirootfs is available here:
- you'll need to fix the /mnt/sdcard/boot/cmdline.txt file, this is mine (/ is on /dev/mmcblk0p2, that's the second partition):
cat /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
- and finally you need to enable root login in your /mnt/sdcard/etc/ssh/sshd_config
PermitRootLogin yes

Last edited by abga; 08-07-2018 at 01:16 PM. Reason: completion


cross-compile, rasberry pi 3, script, slackwarearm, tutorial

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
Cross compiling under Slackware using mingw-w64 andrew.46 Slackware 12 06-04-2016 02:56 AM
[SOLVED] cross compiling library paths into system knobby67 Programming 1 06-04-2014 06:30 AM
[SOLVED] Compiling lirc on system with remotely cross-compiled kernel Quakeboy02 Linux - Software 1 04-05-2013 06:17 PM
[cross compiling]x86_64 system, compile target i686 ////// Programming 1 03-31-2011 04:56 AM
Cross-compiling Slackware from scratch intens Slackware 7 01-15-2007 03:26 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:25 AM.

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