LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   Raspberry Pi 4 bcm2711 (aarch64) (https://www.linuxquestions.org/questions/slackware-arm-108/raspberry-pi-4-bcm2711-aarch64-4175675454/)

sndwvs 01-25-2021 12:19 AM

Quote:

Originally Posted by glorsplitz (Post 6211551)
shot-1970-01-01_00-39-59.jpg, you didn't run ntp?

is mpv part of base install?

i have not connected to the network, ntp is set to work.
yes, mpv is included in prebuilt builds.

wowbaggerHU 01-25-2021 03:18 AM

Quote:

Originally Posted by sndwvs (Post 6211466)
the desktop was also replaced with enlightenment.

So you mean that whoever wants to keep using Xfce, will have to use the base installer image, and install the Xfce related packages manually?

sndwvs 01-25-2021 03:25 AM

Quote:

Originally Posted by wowbaggerHU (Post 6211633)
So you mean that whoever wants to keep using Xfce, will have to use the base installer image, and install the Xfce related packages manually?

for a given image, yes.
but globally you can build with both xfce and enlightenment, this is just the first build with enlightenment.

wowbaggerHU 01-25-2021 03:29 AM

Quote:

Originally Posted by sndwvs (Post 6211637)
for a given image, yes.
but globally you can build with both xfce and enlightenment, this is just the first build with enlightenment.

Hi sndwvs, that's understandable. Thank you for the explanation.

sndwvs 02-18-2021 07:19 AM

kernel 5.11.0

slarm64-current-aarch64-base-raspberry_pi_4-5.11.0-build-20210218.img.zst
slarm64-current-aarch64-base-raspberry_pi_4-5.11.0-build-20210218.img.zst.sha256
slarm64-current-aarch64-xfce-raspberry_pi_4-5.11.0-build-20210218.img.zst
slarm64-current-aarch64-xfce-raspberry_pi_4-5.11.0-build-20210218.img.zst.sha256

sndwvs 03-16-2021 11:16 AM

kernel 5.10.23

sndwvs 03-25-2021 01:55 PM

kernel 5.11.10
slarm64-current-aarch64-base-raspberry_pi_4-5.11.10-build-20210329.img.zst
slarm64-current-aarch64-base-raspberry_pi_4-5.11.10-build-20210329.img.zst.sha256
slarm64-current-aarch64-xfce-raspberry_pi_4-5.11.10-build-20210329.img.zst
slarm64-current-aarch64-xfce-raspberry_pi_4-5.11.10-build-20210329.img.zst.sha256

sndwvs 05-01-2021 03:33 PM

update kernel 5.12.0

sndwvs 05-17-2021 07:31 AM

kernel 5.12.4
slarm64-current-aarch64-server-raspberry_pi_4-5.12.4-build-20210517.img.zst
slarm64-current-aarch64-server-raspberry_pi_4-5.12.4-build-20210517.img.zst.sha256
slarm64-current-aarch64-xfce-raspberry_pi_4-5.12.4-build-20210517.img.zst
slarm64-current-aarch64-xfce-raspberry_pi_4-5.12.4-build-20210517.img.zst.sha256

wowbaggerHU 05-17-2021 09:19 AM

Hi sndwvs,

I don't wish to sidetrack this thread, but I encountered a previously unknown problem (at least for me).
I have a 4 GB raspberry pi 4, and I would like to use an RTC. I own a number of them, and they all are this model.

Until now used them happily but I recently switched from a 2 GB to a 4 GB RPi4, and also upgraded to kernel 5.10.0.
The problem is that:

In /boot/config.txt, I have
Code:

dtparam=i2c_arm=on
dtoverlay=disable-vc4,i2c-rtc,ds3231

And the device shows up in i2cdetect's output:
Code:

root@raspberry-pi-4:~# i2cdetect -y 1
    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                        -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

So it seems to be connected to the RPi4 properly.
However when I try to execute the usual commands to activate the RTC,

Code:

lsmod | grep -q i2c-bcm2708 || modprobe i2c-bcm2708
cat <<<"ds1307 0x68" >/sys/class/i2c-adapter/i2c-1/new_device
sleep 1
[ -c /dev/rtc0 ] && hwclock --hctosys

I get this:

Code:

[  11.711634] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  18.839442] random: crng init done
[  19.164643] i2c i2c-1: new_device: Instantiated device ds1307 at 0x68
[  19.174771] rtc-ds1307: probe of 1-0068 failed with error -121

On my second attempt, I'm greeted with this:
Code:

[  88.940468] i2c /dev entries driver
[  137.524802] i2c i2c-1: Failed to register i2c client ds1307 at 0x68 (-16)

Do you happen to have any tips on this?
I already spent a few hours googling around, but wasn't able to fix the problem.

sndwvs 05-17-2021 09:31 AM

Hi wowbaggerHU,
here is a similar problem
Code:

dtoverlay=i2c-rtc,ds1307,addr=0x58

wowbaggerHU 05-17-2021 10:16 AM

Quote:

Originally Posted by sndwvs (Post 6251459)
Code:

dtoverlay=i2c-rtc,ds1307,addr=0x58

Well, it either was a contact problem (that was fixed by now through the many disassembly-reassembly cycles), or the one you mentioned, but it works now.
Although I have to point out that the address had to be (or was) corrected to 0x68.

Either way, thank you for helping me out!

sndwvs 07-08-2021 01:15 PM

update kernel 5.13.0

sndwvs 07-10-2021 04:17 PM

slarm64-current-aarch64-server-raspberry_pi_4-5.13.1-build-20210710.img.zst
slarm64-current-aarch64-server-raspberry_pi_4-5.13.1-build-20210710.img.zst.sha256
slarm64-current-aarch64-xfce-raspberry_pi_4-5.13.1-build-20210710.img.zst
slarm64-current-aarch64-xfce-raspberry_pi_4-5.13.1-build-20210710.img.zst.sha25

pchristy 07-11-2021 05:37 AM

On a similar theme, I've noticed a lot of new files going in to Slarm64 recently (I rsync a local NAS with Slackware.UK), but slackpkg isn't detecting them. It looks as if the changelog isn't getting updated, nor are the checksums, which are throwing up md5 errors.

Not criticising, as I know its a lot of work! Just flagging up in case you were unaware.

Slackware64-curent from the same source is fine.

--
Pete


All times are GMT -5. The time now is 11:42 AM.