LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 04-01-2022, 11:30 AM   #16
sunzu
LQ Newbie
 
Registered: Nov 2021
Location: Bavaria, Germany
Distribution: Slackware, PostmarketOS
Posts: 16

Rep: Reputation: Disabled

Hi
first of all thanks drmozes for the release, its awesomwe!
Just for info, as you said sdcards are unreliable, i can confirm that one of my two rpi4s broke three of them, while my other just did fine, so it seems to be a rpi4 hardware issue. I installed it with the other and everything went like charm.
I was able to boot the "damaged pi" with an sdcard i installed with the "good pi". The sdcards from the "damaged one" were unusable after my try to install Slackware, this means they were in a "frozen" state i couldn't change anything like partition table with gparted/fdisk/cfdisk, i even tried MS-Windows, a Android Phone and more.
Just to clarify it seems like a rpi4 related hardware issue not with the installer.
So i wanted to give a warninig if your pi does something like this dont try another sdcard.
Sunzu
 
Old 04-05-2022, 07:30 PM   #17
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,314

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Thank you Stuart! Looking forward to reporting back results installing to rockpro64, when I can find some time!
 
Old 04-08-2022, 08:12 PM   #18
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,314

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
***** Warning - bad CRC, using default environment ?

Hello all. Installed Slackware on the RockPro64. This is all FYI, observation, feedback, no criticism.

All installed, up and running, but.

When I was installing and at "Installing Slackware"
Power on the RockPro64, mine was on when I connected power, didn't have to Press the Power Button for approximately two seconds.

There was no "Found /extlinux/extlinux.conf" and all that.

I don't remember what the messages were, something about retrieving different files to boot from, I was going to try to take pictures, so I pressed power button while it was displaying the messages, instead of restarting it looked like it went into first boot, "Found /extlinux/extlinux.conf" and all that.


I got same output from all the steps. Now when I reboot, I see
Quote:
U-Boot 2021.10 (Mar 25 2022 - 11:55:27 ...) Slackware
soc: rockchip rk3399
model: pine64 rockpro64 v2.1
etc.,
then I see
Quote:
loading environment from spiflash
***** Warning - bad CRC, using default environment
not sure what this means, maybe related to "Installing Slackware" step?


ALSO
not in the document I came across
Quote:
synchronize operating system initial ram disk firmware
newer or additional firmware
do you want to synchronize the firmware
recommendation is Yes
I'm going to go knock around a bit. Thank you Stuart for all this!
 
1 members found this post helpful.
Old 04-09-2022, 08:33 AM   #19
cycojesus
Member
 
Registered: Dec 2005
Location: Lyon, France
Distribution: Slackware-current
Posts: 116

Rep: Reputation: 79
Thumbs up Pinebook Pro

I think (hope) I finally succeeded installing slackwareaarch64-current onto my Pinebook Pro!

Problems I ran into:
  • some strangeness about the willingness to boot depending on the charging port used (barrel-port => bad, usb-C => good.) Looks like hardware quirks.
  • I hoped to be able to keep the emmc enabled to use as storage. Alas warm reboot tries to boot off it so only cold boot is usable. I had to disable as per the tutorial.
  • having /home encrypted isn't practical as the password is prompted for in the UART console. I chose to keep UART active during installation and can't find how to change this now because
  • the uSD used as /boot isn't mountable. It boots fine but I can't mount it.

At least it seem to boot reliably, it's stable (had to rsync a lot, compile many things and it did all without a hiccup) and my Pinebook Pro has a purpose in life again!

Last edited by cycojesus; 04-09-2022 at 08:47 AM. Reason: typos
 
1 members found this post helpful.
Old 04-09-2022, 10:13 AM   #20
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by glorsplitz View Post
Power on the RockPro64, mine was on when I connected power, didn't have to Press the Power Button for approximately two seconds.
Mine doesn't!

Quote:
I don't remember what the messages were, something about retrieving different files to boot from, I was going to try to take pictures, so I pressed power button while it was displaying the messages, instead of restarting it looked like it went into first boot, "Found /extlinux/extlinux.conf" and all that.
You'd have to provide output here. Not every line of text on the screen is mentioned in the documentation.

Quote:
not sure what this means, maybe related to "Installing Slackware" step?

I don't know why the message about bad CRC won't quote in the forum here but that's nothing to worry about - it'll always say that unless you save the u-boot environment. I'll fix it by default at some point but it requires some hacking, and it's a harmless warning.

Quote:
ALSO
not in the document I came across
(re missing step in docs)
Again, not sure why it won't quote your text but I wondered if anyone would notice that omission! I added in the firmware syncronisation 1 day before release. I'll add it to the docs some time.
 
1 members found this post helpful.
Old 04-09-2022, 10:38 AM   #21
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by cycojesus View Post
I think (hope) I finally succeeded installing slackwareaarch64-current onto my Pinebook Pro!

Problems I ran into:[LIST][*]some strangeness about the willingness to boot depending on the charging port used (barrel-port => bad, usb-C => good.) Looks like hardware quirks.
I didn't know you *could* power it from the USB-C! Mine is powered from the barrel port.

Quote:
[*]I hoped to be able to keep the emmc enabled to use as storage. Alas warm reboot tries to boot off it so only cold boot is usable. I had to disable as per the tutorial.
Yep. The only fix for this would be to change the boot order in U-Boot to avoid booting off eMMC first - which involves patching it.

However to be frank, the eMMC is poor quality and I wouldn't store anything on it that I wanted to keep safe.

Quote:
[*]having /home encrypted isn't practical as the password is prompted for in the UART console. I chose to keep UART active during installation and can't find how to change this now because
Yes that is a known issue. I'm not sure how to address that yet although it probably can be.

Quote:
[*]the uSD used as /boot isn't mountable. It boots fine but I can't mount it.
I'm not sure what you mean here - if /boot cannot be mounted, the system isn't going to boot.
 
Old 04-09-2022, 12:23 PM   #22
cycojesus
Member
 
Registered: Dec 2005
Location: Lyon, France
Distribution: Slackware-current
Posts: 116

Rep: Reputation: 79
Quote:
Originally Posted by drmozes View Post
I didn't know you *could* power it from the USB-C! Mine is powered from the barrel port.
You can, I'm using a 15W rpi4 adapter through the pine dock now.
I must say I haven't understood the problem nor been able to have reproducible method but I've thought the pbpro dead several times until it booted many days later.
It wasn't booting this morning. I tried shorting the spi chip thinking trying tow-boot messed something, unplugged the battery and installed Slackware without it and with the bypass plugged. All that worked and with the help of the uart console I got to this stable stage where I removed the encrypted home (I think I read an article about installing OpenBSD mentioning the same issue about encryption password) and disabled the eMMC.
https://tow-boot.org/ is really nice by the way, I don't think it's actually the source of my issues and it looks to be adopted by Manjaro and maybe other distributions.

Here's the thread that made me try to switch from barrel to USB-C to fix booting: https://forum.pine64.org/showthread.php?tid=16278

Quote:
Originally Posted by drmozes View Post
Yep. The only fix for this would be to change the boot order in U-Boot to avoid booting off eMMC first - which involves patching it.

However to be frank, the eMMC is poor quality and I wouldn't store anything on it that I wanted to keep safe.


Yes that is a known issue. I'm not sure how to address that yet although it probably can be.
The uart console told me what was wrong there, the pbpro wasn't very talkative. I knew I was outside the "blessed path" anyway. I have a 1TB ssd in it so losing 64GB isn't such a big deal.



Quote:
Originally Posted by drmozes View Post
I'm not sure what you mean here - if /boot cannot be mounted, the system isn't going to boot.
I'm as surprised as you are.
Here's the output of `mount`:
Code:
mount
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=32768k,mode=755)
devtmpfs on /dev type devtmpfs (rw,relatime,size=8192k,nr_inodes=457245,mode=755)
/dev/nvme0n1p3 on / type ext4 (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,relatime,size=8192k,mode=755)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,relatime,cpuset)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,relatime,cpuacct)
blkio on /sys/fs/cgroup/blkio type cgroup (rw,relatime,blkio)
memory on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)
devices on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices)
perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,relatime,perf_event)
hugetlb on /sys/fs/cgroup/hugetlb type cgroup (rw,relatime,hugetlb)
pids on /sys/fs/cgroup/pids type cgroup (rw,relatime,pids)
/dev/nvme0n1p2 on /home type ext4 (rw,relatime)
cgroup on /sys/fs/cgroup/elogind type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib64/elogind/elogind-cgroups-agent,name=elogind)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=396088k,nr_inodes=99022,mode=700)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=396088k,nr_inodes=99022,mode=700,uid=1000,gid=100)
and the `/etc/fstab`:
Code:
LABEL=SLKswap0   swap             swap        defaults         0   0
LABEL=SLKroot  /                ext4        defaults         1   1
/dev/nvme0n1p2 /home            ext4        defaults         1   2
# This is the SD card that contains an ext4 file system, housing the
# Linux Kernel and Slackware OS InitRD (Operating System Initial RAM Disk).
LABEL=SLKboot    /boot            ext4        errors=remount-ro 0   1
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 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       nosuid,nodev,noexec 0   0
`dmesg| grep mount`
Code:
[   17.812584] EXT4-fs (nvme0n1p3): mounted filesystem with ordered data mode. Quota mode: none.
[   22.374066] EXT4-fs (nvme0n1p3): re-mounted. Quota mode: none.
[   23.483074] EXT4-fs (nvme0n1p2): mounted filesystem with ordered data mode. Quota mode: none.
[   23.958024] EXT4-fs (mmcblk1p1): mount failed
[   27.810336] EXT4-fs (mmcblk1p1): mount failed
`sudo mount /boot`
Code:
mount: /boot: can't read superblock on /dev/mmcblk1p1.
       dmesg(1) may have more information after failed mount system call.
and finally `fdisk -l /dev/mmcblk1`
Code:
Disk /dev/mmcblk1: 28.91 GiB, 31046238208 bytes, 60637184 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xce6050cb

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk1p1 *     6144 60637183 60631040 28.9G 83 Linux
The last manual action I did to that card was dd'ing the installer on it. Then I (think I) told the installer to remove itself from it and extend the partition (something like that, I don't exactly remember.)
Maybe something's just wrong enough with the SD to make it not mountable yet bootable. I don't feel very confident in such a system, I'll have to make a backup of the card and make another one. Also I'll try to read it on different computer.
 
Old 04-10-2022, 10:23 AM   #23
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,314

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
label the file systems feedback

Quote:
Therefore you are advised to manually label the file systems and modify the OS /etc/fstab accordingly.
Before adding additional drive using using pine pcie to dual sata-III card
SLKswap0 and SLKroot are identified as sda1, sda2 respectively and SLKboot is mmcblk1p1.

With additional storage /dev/sdb1 added as label sdb1, fstab adjusted accordingly
Quote:
LABEL=sdb1 /home/server/sdb1 xfs defaults 1 1
system comes up as
Quote:
/dev/mmcblk1p1 * 6144 125173759 125167616 59.7G 83 Linux
/dev/sdb1 2048 8390655 8388608 4G 82 Linux swap
/dev/sdb2 * 8390656 468862127 460471472 219.6G 83 Linux
Quote:
/dev/mmcblk1p1 61540980 348796 58046656 1% /boot
/dev/sdb2 225513268 15414412 198570688 8% /
/dev/sda1 624825584 136462512 488363072 22% /home/server/sdb1
/home/server/sdb1 does show correct file system.

Is this what to expect? Don't worry about dev identification as long as labels work?

Last edited by glorsplitz; 04-10-2022 at 10:32 AM.
 
1 members found this post helpful.
Old 04-10-2022, 02:03 PM   #24
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by glorsplitz View Post

Is this what to expect? Don't worry about dev identification as long as labels work?
Exactly - this is why the required partitions are labeled.
 
1 members found this post helpful.
Old 04-12-2022, 07:10 PM   #25
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,314

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
update kernel, rebooted, up and running!

Continuing with rockpro64 aarch64 install, applied all the updates the other day, all is well.

Quote:
The CPU fan speed is controlled statically during boot. By default it'll set the speed to '65' which is the lowest speed.
Side note, I'm looking into, following up, cpu fan seems to be last message before login prompt, fan kicks in high speed then settles down, that is, before I rearranged things, now the fan stops. I have the rockpro64 in an old desktop case, near a case fan, a little to help keep things cool maybe more so to keep dust from settling on critical stuffs.

I touched the heat sink and it's not even warm, so I guess the fans threshold to turn on hasn't been reached, 91F right now, load is dead still.
 
Old 04-12-2022, 08:26 PM   #26
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,904

Rep: Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053
Quote:
Originally Posted by glorsplitz View Post
Side note, I'm looking into, following up, cpu fan seems to be last message before login prompt, fan kicks in high speed then settles down, that is, before I rearranged things, now the fan stops. I have the rockpro64 in an old desktop case, near a case fan, a little to help keep things cool maybe more so to keep dust from settling on critical stuffs.

I touched the heat sink and it's not even warm, so I guess the fans threshold to turn on hasn't been reached, 91F right now, load is dead still.
If you set /etc/rc.d/rc.platform.conf to CPU_FAN_MAX_SPEED=65, does the fan stay on? How about at 255? I've had mixed results. My fan seems to turn off if the max or the minimum fan speeds are replaced by any other speed. The /etc/rc.d/rc.platform.d/aarch64/rk3399 may be of interest for anyone else experiencing this issue.

In short, I noticed my fan speed is set to "0" if I do not set CPU_FAN_MAX_SPEED variable to max or min. Commenting out the variable yields a fan that slows to a halt shortly after the script exits.

I was able to reproduce this behavior by setting the speed to "80".

Last edited by mralk3; 04-12-2022 at 08:28 PM.
 
1 members found this post helpful.
Old 04-13-2022, 11:25 AM   #27
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by mralk3 View Post
If you set /etc/rc.d/rc.platform.conf to CPU_FAN_MAX_SPEED=65, does the fan stay on? How about at 255? I've had mixed results. My fan seems to turn off if the max or the minimum fan speeds are replaced by any other speed. The /etc/rc.d/rc.platform.d/aarch64/rk3399 may be of interest for anyone else experiencing this issue.

In short, I noticed my fan speed is set to "0" if I do not set CPU_FAN_MAX_SPEED variable to max or min. Commenting out the variable yields a fan that slows to a halt shortly after the script exits.

I was able to reproduce this behavior by setting the speed to "80".
With my various RockPro64's the fans (despite them being supposedly the same) spin at different RPMs when the same values are set via the driver's interface, and one of them didn't respond at all until it the max speed was set a few times (hence why the fan control script works that way).
The fan stuff in the OS is all a bit hacky and should be replaced by something proper at some point.
Suggestion box is open ;-)
 
1 members found this post helpful.
Old 04-13-2022, 11:28 AM   #28
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by glorsplitz View Post
I touched the heat sink and it's not even warm, so I guess the fans threshold to turn on hasn't been reached, 91F right now, load is dead still.
The fan speed set via the driver's /proc interface is a hard coded value where I tried to strike the balance of an intrusive noise vs cooling the chip.
If the fan isn't spinning, it's probably stuck physically or just won't spin at the lower settings for whatever reason. Try setting the max (255?) and see if that starts it up.
 
1 members found this post helpful.
Old 04-13-2022, 09:30 PM   #29
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,904

Rep: Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053
I found that if I set my fan to 255 or 65 using the rc.platform script,then the fan stays running. If I try a different setting, such as 80, 100, 200, the fan will speed up then just turns off completely. So I settled for 65. The odd thing is that the rc.platform.conf must be configured to 65 and must be executed one more time after runlevel 3 drops to the login prompt.

I will have to turn down the music and leave the headphones off so I can keep an eye on it!
 
Old 04-14-2022, 11:00 PM   #30
gsl
Member
 
Registered: Jun 2007
Location: Australia
Distribution: Slackware
Posts: 76

Rep: Reputation: 44
It looks like the update from 14 Apr 2022 still has the old icu4c-70.1 package even though a bunch of packages have been rebuilt against icu4c-71.1.

Code:
Thu Apr 14 08:08:08 UTC 2022
...
l/harfbuzz-4.2.0-aarch64-2.txz:  Rebuilt.
  Recompiled against icu4c-71.1.
l/icu4c-70.1-aarch64-1.txz:  Upgraded.
  Shared library .so-version bump.
l/libical-3.0.14-aarch64-2.txz:  Rebuilt.
  Recompiled against icu4c-71.1.
...
Geoff.
 
  


Reply



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
Slackware AArch64-current development drmozes Slackware - ARM 69 11-21-2021 02:21 PM
LXer: Pop OS 21.10 Release May Support ARM (arm64/AArch64) LXer Syndicated Linux News 0 10-04-2021 08:06 AM
AArch64 kernel and modules to install Slackware ARM current on the RPi3 Exaga Slackware - ARM 27 02-07-2017 10:45 AM
LXer: Announcing the release of Fedora 22 Alpha for AARCH64 and POWER64! LXer Syndicated Linux News 0 03-30-2015 06:03 PM

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

All times are GMT -5. The time now is 04:37 AM.

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