Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-02-2020, 09:36 AM
|
#16
|
Member
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304
Rep: 
|
Quote:
Originally Posted by larrybpsu
Seems the system crashes after about 10 minutes of runtime...I boot it up and then open some web pages and then go do some other things around the house...come back to the pi and it's locked solid. No display, but the heartbeat is still blinking. No IP reply from any pings. Need to power cycle to recover.  Logs don't show any issues. Crashed in the middle of creating this post!
|
I built a new installer with the latest edition of images_build_kit, and I did not encounter the crash after 10 minutes.
I have to add though I was using the base image (not the xfce one).
|
|
|
11-03-2020, 11:09 AM
|
#17
|
Member
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 66
Rep:
|
Follow up:
Still crashes with init 3. Actually locked up solid while doing a 'slackpkg upgrade-all'. Heartbeat led stopped, screen went blank...no IP activity.
Probably a kernel issue. logs aren't much help, dmesg shows lots of errors for bluetooth.
I'll check out the new build this week.
|
|
|
11-04-2020, 08:48 AM
|
#18
|
Member
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304
Rep: 
|
Quote:
Originally Posted by larrybpsu
Still crashes with init 3. Actually locked up solid while doing a 'slackpkg upgrade-all'. Heartbeat led stopped, screen went blank...no IP activity.
|
Hi,
I built an image for RPi3 for you. You can download it from here. Also tested it on my own Pi3, and it has been running for 40 minutes with X and XFCE running.
|
|
|
11-04-2020, 06:23 PM
|
#19
|
Member
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 66
Rep:
|
The 5.9.2 build is working MUCH better! No crashes so far, using the XFCE build. This makes me happy.
Issues:
I want the 'heartbeat' gone. The stated method in an earlier reply didn't work. I was hoping to use a config.txt line to change it. The sarpi install leaves the LED's alone.
WHY is the ethernet MAC address randomized? I create dhcp reservations for all of my 'known' devices.
The ntp.conf file has servers already setup. Don't do that. It's not the Slackware way.
No support for RTC's. I have a DS3231 RTC that works fine with sarpi. I just include these lines in config.txt.
Code:
dtparam=i2c_arm=on
dtcoverlay=i2c-rtc,ds3231
Doesn't work in slarm64
Naive question: How can I complete a FULL install of more packages since it's running? I've tried slackpkg install-new; slackpkg upgrade-all. Not catching everything. Is there an equivalent to the original 'setup' that goes through all the different sections (a, ap, d. e, f, etc.)??
|
|
|
11-04-2020, 06:49 PM
|
#20
|
Senior Member
Registered: Aug 2014
Posts: 2,151
Original Poster
Rep: 
|
Quote:
Originally Posted by larrybpsu
I want the 'heartbeat' gone. The stated method in an earlier reply didn't work. I was hoping to use a config.txt line to change it. The sarpi install leaves the LED's alone.
|
this is the default kernel configuration behavior.
let's check:
Code:
ls /sys/class/leds/*/
disabled:
Code:
#Power LED off
sudo sh -c 'echo 0 > /sys/class/leds/led1/brightness'
sudo sh -c 'echo none > /sys/class/leds/led1/trigger'
#Activity LED off
sudo sh -c 'echo 0 > /sys/class/leds/led0/brightness'
Quote:
Originally Posted by larrybpsu
WHY is the ethernet MAC address randomized? I create dhcp reservations for all of my 'known' devices.
|
also the default kernel setting
Code:
sudo nano /boot/config.txt
Add the following line if it does not already exist:
Code:
smsc95xx.macaddr=B8:AA:BC:DE:F0:12
fixed
Quote:
Originally Posted by larrybpsu
The ntp.conf file has servers already setup. Don't do that. It's not the Slackware way.
|
this is not a default installation, but a minimal setting of the finished system.
Quote:
Originally Posted by larrybpsu
No support for RTC's. I have a DS3231 RTC that works fine with sarpi. I just include these lines in config.txt.
|
no way to check. watch dmesg.
Quote:
Originally Posted by larrybpsu
Naive question: How can I complete a FULL install of more packages since it's running? I've tried slackpkg install-new; slackpkg upgrade-all. Not catching everything. Is there an equivalent to the original 'setup' that goes through all the different sections (a, ap, d. e, f, etc.)??
|
you can install everything in the series for example:
Code:
slackpkg install d xap
Last edited by sndwvs; 11-04-2020 at 10:03 PM.
|
|
1 members found this post helpful.
|
11-05-2020, 04:01 AM
|
#21
|
Member
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304
Rep: 
|
Quote:
Originally Posted by sndwvs
Code:
smsc95xx.macaddr=B8:AA:BC:DE:F0:12
fixed
|
Sorry, but is it a good idea to hard-code the MAC address for all installations on all the RPi3 boards?
|
|
|
11-05-2020, 07:26 AM
|
#22
|
Member
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304
Rep: 
|
Hi Mara,
Could you also please add the kernel config to the kernel (at least as a module)?
I would also kindly ask you to add support for the Dallas/Maxim DS1307 RTC to the kernel config.
I also have a separate question. Obviously kernel images for the different devices are not part of the Slarm64 package repository. Then what is the recommended way of keeping up to date with new kernel versions? Am I supposed to build it myself? (I personally have no problems with that.) If yes, then what is the recommended way to do it? (I'm avare of the general process on x86 and x86_64, but AFAIK there are some extra steps that one needs to do when compiling a kernel for ARM or ARM64, like generating the device tree files (dtbs). That's why I'm asking.)
|
|
|
11-05-2020, 08:57 AM
|
#23
|
Senior Member
Registered: Aug 2014
Posts: 2,151
Original Poster
Rep: 
|
Quote:
Originally Posted by wowbaggerHU
Sorry, but is it a good idea to hard-code the MAC address for all installations on all the RPi3 boards?
|
for network access it makes sense, and it can always be easily configured by removing this setting uEnv.txt
Quote:
Originally Posted by wowbaggerHU
Could you also please add the kernel config to the kernel (at least as a module)?
I would also kindly ask you to add support for the Dallas/Maxim DS1307 RTC to the kernel config.
|
the module is present in the kernel
Code:
modprobe rtc-ds1307
Quote:
Originally Posted by wowbaggerHU
I also have a separate question. Obviously kernel images for the different devices are not part of the Slarm64 package repository. Then what is the recommended way of keeping up to date with new kernel versions? Am I supposed to build it myself? (I personally have no problems with that.) If yes, then what is the recommended way to do it? (I'm avare of the general process on x86 and x86_64, but AFAIK there are some extra steps that one needs to do when compiling a kernel for ARM or ARM64, like generating the device tree files (dtbs). That's why I'm asking.)
|
to install a separate kernel, everything is the same installpkg, having downloaded a separate kernel for a specific board.
Last edited by sndwvs; 11-05-2020 at 09:02 AM.
|
|
|
11-05-2020, 09:44 AM
|
#24
|
Member
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304
Rep: 
|
Quote:
Originally Posted by sndwvs
to install a separate kernel, everything is the same installpkg, having downloaded a separate kernel for a specific board.
|
The kernel packages are not part of the slarm64 package repository. At least I could not find them at http://mirrors.slackware.bg/slarm64/slarm64-current/
Where do you upload/share them?
Of course I know I could build a new kernel with images-build-kit as well, and then use the kernel packages generated as an upgrade source.
|
|
|
11-05-2020, 09:47 AM
|
#25
|
Member
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304
Rep: 
|
Quote:
Originally Posted by larrybpsu
I want the 'heartbeat' gone.
|
In /boot/config.txt just remove the line
Code:
dtparam=act_led_trigger=heartbeat
|
|
|
11-05-2020, 10:02 AM
|
#26
|
Senior Member
Registered: Aug 2014
Posts: 2,151
Original Poster
Rep: 
|
in slarm64, the kernel is not modified for general use (you can also try to use it), kernel packages are located according to the board http://dl.fail.pp.ua/slackware/packages/aarch64/k/
|
|
1 members found this post helpful.
|
11-05-2020, 10:08 AM
|
#27
|
Member
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304
Rep: 
|
Quote:
Originally Posted by sndwvs
the module is present in the kernel
Code:
modprobe rtc-ds1307
|
Yes, I can confirm it. RTC support works.
Could you still add the configuration at least as a loadable module, please?
|
|
|
11-05-2020, 10:12 AM
|
#28
|
Member
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304
Rep: 
|
Quote:
Originally Posted by sndwvs
|
Thank you Mara!
|
|
|
11-05-2020, 10:14 AM
|
#29
|
Senior Member
Registered: Aug 2014
Posts: 2,151
Original Poster
Rep: 
|
automatically load the module:
Code:
sudo sh -c 'echo "/sbin/modprobe rtc-ds1307" >> /etc/rc.d/rc.modules.local'
|
|
|
11-05-2020, 04:09 PM
|
#30
|
Senior Member
Registered: Aug 2014
Posts: 2,151
Original Poster
Rep: 
|
Quote:
Originally Posted by larrybpsu
The ntp.conf file has servers already setup. Don't do that. It's not the Slackware way.
|
added the ability to disable the NTP server settings at the stage of building the image
|
|
|
All times are GMT -5. The time now is 02:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|