MamiyaOtaru
Posts: 15
Joined: Fri Aug 02, 2019 9:42 am

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Sat Aug 24, 2019 2:00 am

sakaki wrote:
Thu Aug 22, 2019 1:30 am
MamiyaOtaru wrote:
Thu Aug 22, 2019 1:09 am
I managed to get it working by copying start4.elf and fixup4.dat from raspbian onto the gentoo card's boot partition. You may look into updating those?
Had you run rpi-update on the Raspbian image you copied these /boot files from? The image as shipped has the 20190718 boot firmware, which may or may not be better than the firmware shipped on the currently downloadable (20190710) Raspbian image (or the current 20190819 firmware).

Edit: if you just post the md5sums of these files, I can work out which version you have used. Thanks!

Best, sakaki
same as derder's:
start4.elf has MD5 15FD86732474DCD39C902C7A804BD9DD
fixup4.dat has MD5 BDEA9BEFA5203A9D37FE9C16BCF59C3F

ichi
Posts: 3
Joined: Tue Aug 20, 2019 11:45 pm

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Sat Aug 24, 2019 8:26 pm

Hi,

just bought an RPi 4 and installed gentoo. It seems to be faster than raspbian, but I have some problems. Without editing the config.txt the screen size does not fit to the display size and it can only go up to 1920x1080 resolution (a 4K TV screen). I already updated the firmware on raspbian and copied the fixup* and start* files to gentoo, but it makes no difference. Then I put the following lines into config.txt:

hdmi_group=2
hdmi_mode=95

I only got a black screen and I had to comment this lines out on my laptop before I could get the system started again. The output of tvservice -v2 -m CEA is the following:

Group CEA has 23 modes:
mode 1: 640x480 @ 60Hz 4:3, clock:25MHz progressive
mode 2: 720x480 @ 60Hz 4:3, clock:27MHz progressive
mode 3: 720x480 @ 60Hz 16:9, clock:27MHz progressive
(native) mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
mode 5: 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced
mode 6: 720x480 @ 60Hz 4:3, clock:27MHz x2 interlaced
mode 7: 720x480 @ 60Hz 16:9, clock:27MHz x2 interlaced
(prefer) mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive
mode 17: 720x576 @ 50Hz 4:3, clock:27MHz progressive
mode 18: 720x576 @ 50Hz 16:9, clock:27MHz progressive
mode 19: 1280x720 @ 50Hz 16:9, clock:74MHz progressive
mode 20: 1920x1080 @ 50Hz 16:9, clock:74MHz interlaced
mode 21: 720x576 @ 50Hz 4:3, clock:27MHz x2 interlaced
mode 22: 720x576 @ 50Hz 16:9, clock:27MHz x2 interlaced
mode 31: 1920x1080 @ 50Hz 16:9, clock:148MHz progressive
mode 32: 1920x1080 @ 24Hz 16:9, clock:74MHz progressive
mode 34: 1920x1080 @ 30Hz 16:9, clock:74MHz progressive
mode 93: 3840x2160 @ 24Hz 16:9, clock:297MHz progressive
mode 94: 3840x2160 @ 25Hz 16:9, clock:297MHz progressive
mode 95: 3840x2160 @ 30Hz 16:9, clock:297MHz progressive
mode 98: 4096x2160 @ 24Hz unknown AR, clock:297MHz progressive
mode 99: 4096x2160 @ 25Hz unknown AR, clock:297MHz progressive
mode 100: 4096x2160 @ 30Hz unknown AR, clock:297MHz progressive

Raspbian is using mode 95 by default, without any change in the config.txt file. I would like to test this system with 4K resolution at 60 Hz.
I made some experiments with raspbian, but it seemed to ignore my changes in config.txt (tried different resolutions and 60 Hz, but it always defaults to mode 95), but that is probably a raspbian issue.
I do not understand, why I do have the difference in the resolution by default, if I use the same firmware and display on the two systems? Why is the screen size bigger than the display (I cannot see some pixel rows in every direction).
I also miss the access to my NAS. Which package is missing from the system, to have access to the NAS over "Browse network" of the file manager?
By the way, if something should be tested, I would like to help! I am not a programmer, but have some experience as Linux user.
Thank you!

gyula

gsgs
Posts: 134
Joined: Sun Dec 13, 2015 6:48 pm
Location: Germany
Contact: Website

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Sun Aug 25, 2019 5:51 am

I found the link in the readme file :
https://github.com/sakaki-/gentoo-on-rp ... 4pt.img.xz

but it's slow and 2 download attempts failed. How big is it ?

User avatar
sakaki
Posts: 381
Joined: Sun Jul 16, 2017 1:11 pm

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Sun Aug 25, 2019 9:32 am

gsgs wrote:
Sun Aug 25, 2019 5:51 am
I found the link in the readme file :
https://github.com/sakaki-/gentoo-on-rp ... 4pt.img.xz

but it's slow and 2 download attempts failed. How big is it ?
As noted in the project's README on GitHub:
A microSD card of at least 16GB capacity (the image is 1,643MiB compressed, 12.25GiB == 13.15GB uncompressed, so it should fit on any card marked as >= 16GB).
(emphasis added).

This is a largish download, but smaller than e.g. the current Raspbian full image.

If you find GitHub downloads too slow, you can always try installing via PINN (as the PINN images come from a separate server).

hth, sakaki

gsgs
Posts: 134
Joined: Sun Dec 13, 2015 6:48 pm
Location: Germany
Contact: Website

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Sun Aug 25, 2019 9:43 am

thanks. Seems that it worked now for me : 1723100964 bytes compressed,
downloaded in 3 hours now , >13GB uncompressed.
The earlier problems were maybe on my part,
some recent unresolved computer problems.
I never downloaded raspbian, you can buy the prepared cards.

Now creating the card ....20min , no errors.
Maybe I could better have done this
on the pi directly, I don't know , am not much familiar with Linux.

======edit============

all worked well now.
It did recognize my new TV - other than raspian and manjaro.
With the mouse-image - that seems to be Arch - like, pacman not get apt.
I could insert a usb-drive and it was recognized and I could copy files by dragging
and I could execute cfish-o1, compiled on the odroid under ubuntu.
It gave 1815kn/s , a little less than the ~1870 under manjaro while
raspian sudo apt-get install stockfish only gives 1070kn/s
I don't know how to compile in gentoo yet ... make build didn't work at all

=================================================
sakaki wrote:
Sun Aug 25, 2019 9:32 am
gsgs wrote:
Sun Aug 25, 2019 5:51 am
I found the link in the readme file :
https://github.com/sakaki-/gentoo-on-rp ... 4pt.img.xz

but it's slow and 2 download attempts failed. How big is it ?
As noted in the project's README on GitHub:
A microSD card of at least 16GB capacity (the image is 1,643MiB compressed, 12.25GiB == 13.15GB uncompressed, so it should fit on any card marked as >= 16GB).
(emphasis added).

This is a largish download, but smaller than e.g. the current Raspbian full image.

If you find GitHub downloads too slow, you can always try installing via PINN (as the PINN images come from a separate server).

hth, sakaki

User avatar
sakaki
Posts: 381
Joined: Sun Jul 16, 2017 1:11 pm

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Mon Aug 26, 2019 7:26 pm

gsgs wrote:
Sun Aug 25, 2019 9:43 am
all worked well now.
It did recognize my new TV - other than raspian and manjaro.
With the mouse-image - that seems to be Arch - like, pacman not get apt.
I could insert a usb-drive and it was recognized and I could copy files by dragging
and I could execute cfish-o1, compiled on the odroid under ubuntu.
It gave 1815kn/s , a little less than the ~1870 under manjaro while
raspian sudo apt-get install stockfish only gives 1070kn/s
I don't know how to compile in gentoo yet ... make build didn't work at all
Assuming that this is the Cfish chess engine here: https://github.com/syzygy1/Cfish

then looking at its Makefile, you'll have to change some lines to get it to compile. First clone it and enter its source directory:

Code: Select all

demouser@pi64 ~ $ git clone https://github.com/syzygy1/Cfish
demouser@pi64 ~ $ cd Cfish/src
Now edit the Makefile (we don't need numa, we'd like to turn on link-time optimization, and gcc doesn't support the -m64 option under aarch64). Issue:

Code: Select all

demouser@pi64 ~/Cfish/src $ nano -w Makefile
and edit lines 79-80 so they read;

Code: Select all

numa = no
lto = yes
then comment out lines 174-176, so they now read:

Code: Select all

#	else
#		CFLAGS += -m$(bits)
#		LDFLAGS += -m$(bits)
Leave the rest of the file as is. Save and exit nano.

Now you can build it - let's use profile-guided optimization, since it's available ^-^ (this will run a single-threaded benchmark to capture a typical execution profile, which is then fed back to the compiler to optimize the build). Issue:

Code: Select all

demouser@pi64 ~/Cfish/src $ make profile-build ARCH=general-64
Once the build completes, try running an actual benchmark. First, make sure that the performance CPU governor is in use, so that the system is guaranteed to be running at full speed:

Code: Select all

demouser@pi64 ~/Cfish/src $ echo performance | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Now you can run your benchmark. For example, use a transposition table size of 16 (the default) and 4 threads (since we have a 4-core system) and all other parameters default:

Code: Select all

demouser@pi64 ~/Cfish/src $ ./cfish bench 16 4 > run-16-4.txt

Position: 1/42
<...>
Position: 42/42

===========================
Total time (ms) : 3364
Nodes searched  : 7889077
Nodes/second    : 2345147
PS there are a number of other things that should be tweaked; the Makefile should really have an aarch64 (or arm64) target etc. Also an ebuild could easily be built for this to detail how to compile this correctly on the RPi4 on Gentoo (without having to go through the manual tweaks). But hopefully that's enough to get you started.

Best, sakaki

PS the above are actual results from one of my 4GiB Pi4s, which has not been overclocked. Pimoroni fan shim in use. No idea if they look reasonable or not!

Gazzy
Posts: 29
Joined: Tue Aug 27, 2019 1:40 am

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Tue Aug 27, 2019 2:25 am

Hi Sakaki

I followed, and read all you guide on the GitHub, I mostly got it working well except the audio.

Some notes

On my tv it would not reach the os, the start would boot, but on switching after the first part of the boot, the tv went black and said unsupported signal. I fixed this by swapping the fixup4 and startx4 files. Then it booted to the os.

Once in the os, I had to change my keyboard, which was an edit of two files.
Then change the wifi region, this was tricky. To make it work, I had to use pyconfig_gen then also add a file to stop it resetting to region 00 all the time. But I got it worked out.
5 ghz is blocked, until a region is set fully according to rpi kernel changelist ( buster notes )

Then I had to change the locale, which went fine but after reboot the demo user account kept reverting to Uk locale. To fix it I had to add locale settings to /.bashrc manually to get the locale to stick after boot. But I got all that done ok.

A note that after changing the locale, the pyconfig_gen will no longer open from the menu. I need to use terminal and use sudo pyconfig_gen. And it gives an error on load

[E] Invalid device/display ID
[E] Invalid device/display ID

I use a 1080p Sony tv, and I can’t see it really detected, the display lists a 72” Sony, and only has one device to pick.

The pyconfig_gen opens from the menu on first boot, but won’t open from the menu after I change the locale. All I change is the GB entry to AU, and everything else works. Running locale is normal and list AU
But mostly it is working normally but I guess may not be running at boot, the pyconfig_gen
(Because it errors)

But my major problem is the sound.

I have some audio, but it cuts in and out every few seconds. I’m trying to test it playing a YouTube vid. It acts like the volume is too loud but I set the levels and they are fine. I do have some sound, but it keeps cutting out all the time. The aplay sound test seems normal I guess. YouTube in both browsers cut out all the time. I’m running a rpi4 4gb.

Now on buster the sound works normally. , but when I make, compiled a retropie on buster, the sound would cut out all the time during all the games.

I downloaded a retropie made image for rpi4 and the sound is normal on all the games, no dropouts or static.

So I know the board works as I have 2 os’s that have no sound problems with my tv.

I have tried a lot of things, changing all the setting in config.txt, made no difference.

Tried playing with Alsa no difference.
I use the raspberry pi standard white hdmi cable for pi4, and the cable and tv combo are fine in buster, and my retropie image.

I tried updating the boot files to the latest github firmware files, but still no difference.

I tried using the boot files from buster but it still was no better.

I’ve really tried everything I can think of, so maybe you have some ideas. In pav, sound it only has one listing for analog mono, there is no hard listing for hdmi audio, they way you have set it up. Any help you could give would be appreciated. I really want to get to the bottom of a fix for the audio cutting in and out on hdmi on rpi4 as I really can’t find anything that helps on the net looking it up.

, and I have working Audio in buster, and in a retropie image, so somebody must know more about the trick to make the audio normal.

Thanks for any ideas you have.

Gazzy.

User avatar
sakaki
Posts: 381
Joined: Sun Jul 16, 2017 1:11 pm

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Tue Aug 27, 2019 10:42 am

Hi Gazzy -

sorry to hear you are having problems with this ><

Could you please post the uncommented lines in your current /boot/config.txt?

Also, if you use Applications -> Multimedia -> VLC media player, then select Tools -> Preferences -> Audio, and choose "Alsa audio output" for Output module: (dropdown) and then "bcm2835 ALSA, bcm2835 ALSA Default Audio Device" in the Device: dropdown, and Save, are you able to play audio files without glitches via VLC?

Pls could you also post the output of running "md5sum /boot/*4*".

Many thanks!

sakaki

Gazzy
Posts: 29
Joined: Tue Aug 27, 2019 1:40 am

gentoo 64 audio

Tue Aug 27, 2019 12:14 pm

Vlc seems to play a test mp3 but cuts in and out a bit in the first 2 sec, then seems to play fine. But the audio is still no good on YouTube.

My config.txt is very standard as is.
Uncommented, are

Disable overscan=1
Dtparm=dpi=on
Dtparm=audio=on
Dtoverlay=vc4-fkms-v3d
gpu_mem=128
arm_64bit=1
max_framebuffer=2
kernel=kernel8-p4.img
disable_overscan:1=1

That’s all, I turned them all on and off, and did reboots (very fast boot) but nothing ever fixed the audio cut in cut out during YouTube. Buster is normal audio all the time.

I will post the md5 in the next post. (On phone need to cut and paste)

Gazzy

Gazzy
Posts: 29
Joined: Tue Aug 27, 2019 1:40 am

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Tue Aug 27, 2019 12:23 pm

demouser@pi64 ~ $ md5sum /boot/*4*
d238407a65eaac7ad8438ead6c7e0c1a /boot/System-p4.map
e3171dcf3803baf4b0b7806e27f1c23b /boot/bcm2711-rpi-4-b.dtb
59766720fd1599289bb73cb3933a2b52 /boot/config-p4
579b5cfb07cd39597d00a1d2008d5b21 /boot/fixup4.dat
13c4af25fd7000c8c5126316dcf233c5 /boot/fixup4cd.dat
3121da4f8e78b81091d8a90c0542936a /boot/fixup4db.dat
046ab7fba5421f52e48820e7a03aa14a /boot/fixup4x.dat
e94f8173e08803bc0d377b10afd85136 /boot/kernel8-p4.img
e662aa363b70f881979c3507f64b24f3 /boot/start4.elf
1b1c451e81f631e3a204692f7cb4e92f /boot/start4cd.elf
6a26a8f69e7dab3fcb81ab9b2400f694 /boot/start4db.elf
4bcbd97ed8d6579044d6d5b9fe37b9c6 /boot/start4x.elf

there is my list, its prob a mix of your release and the github firmware latest.
I really tried everything, but the audio would not fix.
This combo boots all the way, and is a bit faster I thought than the 1.5 original files,( but i might be wrong
I could have messed up something I don't understand

just a note

I had also booted just your 1.5 files, but to boot I had to comment out the fkms line in config.txt
with only your files it still had audio cut outs in the youtube videos.

Im also using the fan shim, I edited the installer to install the service to init.d (openrc) so the lights and fan work and turn on and off.

could you upload your fan shim files to the your github,as i guess you made them run (edited) in openrc, it may be a help for people that dont understand how to fix it to work. I think mine is fine but not totally sure, I didnt edit everything, just enough to install the service
Gazzy

Gazzy
Posts: 29
Joined: Tue Aug 27, 2019 1:40 am

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Tue Aug 27, 2019 12:53 pm

i just found a good test mp3 on the net.

vlc plays back ok.

at the start 2sec it cuts in then out but then plays fine,
but every now and again it has a bit of static, so the playback is not fully clean.

i have seen on another website, the same complaint about the cutting in the first 2 sec of the playback and
the slight static heard during playback it was on the github, for kernels for rpi.

he said that the issue started with new kernels, and had been prevalent in all the new kernels.
and went away when he switched back to an old kernel,, (before rpi4),, I cannot really go back far with the rpi4

but buster audio is fine, and I have a retropie image with normal audio

So the problem and fix still is unknown to me, and my net reading

Gazzy

this is the github issue listing page for the above comments

https://github.com/raspberrypi/linux/issues/2983

User avatar
sakaki
Posts: 381
Joined: Sun Jul 16, 2017 1:11 pm

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Tue Aug 27, 2019 8:02 pm

Gazzy,

thanks for the diagnostics.

As regards glitchy sound: per Darksky's comments on the Manjaro forum here, do the audio issues clear up if you edit the file /etc/pulse/default.pa and set set tsched=0, as follows (leaving the rest of the file as-is, and rebooting after making the edit and saving)?

Code: Select all

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect tsched=0
.else
If this workaround does fix things I'll add it into the forthcoming v1.5.1 bugfix release. Thanks!

sakaki


User avatar
sakaki
Posts: 381
Joined: Sun Jul 16, 2017 1:11 pm

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Tue Aug 27, 2019 8:24 pm

Notupus wrote:
Tue Aug 27, 2019 8:20 pm
Is there anyway tp run apt
The cognate command on Gentoo is emerge; see e.g. these notes.

Best, sakaki

Gazzy
Posts: 29
Joined: Tue Aug 27, 2019 1:40 am

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Tue Aug 27, 2019 9:16 pm

Hey Sakaki

You work miracles.

That fixed up all the audio, straight after reboot. The YouTube plays now with no errors.

And the mp3 has stopped shuddering in the first few seconds. And no more static.
I think I saw a post about tsched but I had not got near making it work.

You are amazing at fixing things,
Thank you.
It would be great if you add it to 1.51 and on.

Gazzy

Gazzy
Posts: 29
Joined: Tue Aug 27, 2019 1:40 am

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Tue Aug 27, 2019 9:19 pm

hey by the way

do you have a fix for the

clock skew detected at boot, and sometimes shutdown,

I searched a lot but found no solution, that actually fixes it.

Thanks for the help
Gazzy

User avatar
sakaki
Posts: 381
Joined: Sun Jul 16, 2017 1:11 pm

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Tue Aug 27, 2019 11:28 pm

Gazzy wrote:
Tue Aug 27, 2019 9:19 pm
hey by the way

do you have a fix for the

clock skew detected at boot, and sometimes shutdown,

I searched a lot but found no solution, that actually fixes it.

Thanks for the help
Gazzy
This isn't really an error per se; it's just a consequence of the fact that the Pi4 has no (built-in) battery-backed real-time-clock. So, when Linux starts up, the system initially thinks it is Jan 1 1970. Then, a OpenRC service called swclock sets the time to the last shutdown time (as a first approximation) and the error message you see is printed (big skew from 1970 to 2019!). And then, once network connectivity is established, the NTP client chrony corrects this to the actual time.

See also this post.

hth, sakaki

Gazzy
Posts: 29
Joined: Tue Aug 27, 2019 1:40 am

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Wed Aug 28, 2019 12:17 am

Ok

Thanks for all your help

Gazzy

User avatar
Gavinmc42
Posts: 3931
Joined: Wed Aug 28, 2013 3:31 am

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Wed Aug 28, 2019 1:17 am

Adding tsched=0 seems to have fixed the analog audio in Warzone2100 too.
It has been a bit crackly and somewhat annoying so volume has been very low.

Been too busy trying OpenGL stuff to check YouTube till now, but it sounds fine on max volume :D
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Gazzy
Posts: 29
Joined: Tue Aug 27, 2019 1:40 am

Re: Edits and fixes

Wed Aug 28, 2019 5:11 am

So Sakaki,

I got the Clock Skew messages at boot and shutdown to stop,

by using a fix from this website.

https://gitlab.alpinelinux.org/alpine/a ... ssues/8093

his method, updates the date clock on /etc/init.d from the swclock file during boot, so the clock skew check is satisfied.


could I also suggest, I needed to add this file to set the wifi regdom, or it would block 5ghz wifi when defaulting to 00 global wifi region.

this is the code to add the file, and enter the contents


sudo nano /etc/modprobe.d/cfg80211_options.conf

##file should read>>>

options cfg80211 ieee80211_regdom=“US”


## use your wifi country code instead of "US"


don't forget to .
Change wifi region in pyconfig_gen as well




it was from some website but seems to work fine.

Gazzy

pik33
Posts: 183
Joined: Thu Sep 10, 2015 4:26 pm

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Wed Aug 28, 2019 7:31 am

First try with RPi4B/4GB: no wifi. The symptom is: it detects the router and asks for the password again and again. There is no problem with this router in Raspbian: you write a password and it connects. To be investigated later.

User avatar
sakaki
Posts: 381
Joined: Sun Jul 16, 2017 1:11 pm

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Wed Aug 28, 2019 9:42 am

pik33 wrote:
Wed Aug 28, 2019 7:31 am
First try with RPi4B/4GB: no wifi. The symptom is: it detects the router and asks for the password again and again. There is no problem with this router in Raspbian: you write a password and it connects. To be investigated later.
There is a known 64-bit kernel issue with WiFi (fixed in the most recent kernel) and also possibly a required module option (see above post, although it isn't immediately clear that this is required instead / as well as using "iw reg set WIFI_REGDOM="<country_code>"; investigating).

I will hopefully have a bugfix v1.5.1 version pushed in a few days (with corrections for this plus e.g. the "glitchy audio" fix and monitor autodetect regression also noted in this thread), plus instructions on how to upgrade a v1.5.0 image to v1.5.1.

Best, sakaki

Edit: should have read "iw reg set <country_code>", apologies ($WIFI_REGDOM is a variable, set in /etc/conf.d/rpi3-wifi-regdom, and used by the /etc/init.d/rpi3-wifi-regdom script).
Last edited by sakaki on Wed Aug 28, 2019 12:46 pm, edited 1 time in total.

Gazzy
Posts: 29
Joined: Tue Aug 27, 2019 1:40 am

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Wed Aug 28, 2019 10:13 am

I just tried to use

sudo iw reg set WIFI_REGDOM=“US”

And it did not work, it would not change the region, and after changing region with

sudo iw reg set US

It would not retain the region setting after reboot. Wifi 5ghz would stay blacklisted
In region 00

I still have the module method I can reinstall.

Gazzy

Gazzy
Posts: 29
Joined: Tue Aug 27, 2019 1:40 am

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Wed Aug 28, 2019 10:54 am

I looked it up on the web,

It did change the region in

/etc/conf.d/rpi3-wifi-regdom

But that file did not switch the regdom from
00 blocked status.

I’m trying any other combinations, but none are showing a fix.

So far that file addition in /etc/mod probe.d/
Is the regdom the restriction is looking for.

You may find a more elegant solution, as this is an old way, and the new way is using more
Extensions. But maybe you can fix the one you made.

Gazzy

User avatar
sakaki
Posts: 381
Joined: Sun Jul 16, 2017 1:11 pm

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Wed Aug 28, 2019 11:04 am

Hi Gazzy,

if the modprobe.d variant works, I'll run with it for v1.5.1. Probably add as a belt-and-braces to the original iw reg set approach.

Thanks again

sakaki

Return to “Gentoo”