View previous topic :: View next topic |
Author |
Message |
Sakaki Guru
Joined: 21 May 2014 Posts: 409
|
Posted: Tue Jun 18, 2019 12:33 am Post subject: Bootable 64-bit RPi3/Pi4 Gentoo image (OpenRC/Xfce/VC4) Pt 2 |
|
|
Hello,
I've just posted a v1.4.2 update release of my bootable 64-bit Gentoo image for the RPi3 (model B and B+) on GitHub (here, includes full download instructions).
This release sees a number of significant version bumps to the bundled packages (wrt v1.4.1): for example, GCC from v8 to v9, Clang from v7 to v8, Chromium from v72 to v74, Firefox Quantum from v65 to v67 etc.
Update 25 June 2020: a new v1.6.0 release of the image is available (RPi4 supported, kernel 5.4!); please see this post for more details.
A screenshot of the image running on an RPi3B+ may be viewed here.
As always, you can burn the image (~1,511MiB compressed) to a microSD card (>=16GB), then boot your RPi3 from it directly (the root partition will be automatically resized to fill the card on first boot). Full instructions for download and use are provided on the project's GitHub page.
The image contains a complete (OpenRC-based) Gentoo system (including a full Portage tree, up-to-date as of 12 June 2019) - so you can run emerge operations immediately - and has a reasonably populated userland (see the screenshot referred to above; all the apps shown, and many others, are bundled), so that you can get productive without having to compile or configure anything first (unless you want to, of course ^-^). Just download, xzcat to a microSD card (or use Etcher), and boot!
A changelog from the prior release image (with upgrade instructions) may be viewed here, but in summary:- Kernel updated, to sys-kernel/bcmrpi3-kernel-bis-bin-4.19.49.20190611. Fixes some Bluetooth issues experienced with the prior 4.19 kernel, and adds POE fan and (built-in) btrfs support. Support for the RPi camera module (and leverage of the hw video codecs via v4l2) is retained.
- Per email request from @iugamarian, added the following applications to the image:
- media-video/mpv;
- net-p2p/transmission;
- sys-fs/ncdu; and
- app-misc/mc.
- Various minor ebuild tidy-ups.
- All packages brought up-to-date against the Gentoo tree, as of UTC EOD 12 June 2019 (which means e.g., www-client/firefox-67.0, www-client/chromium-74.0.3729.169-r1, app-office/libreoffice-6.2.4.2 etc. are bundled; a full list of installed packages may be found here).
As before, a variant image for the Pi-Top v1 (an RPi3-based DIY laptop) is also included. Manual upgrade instructions for users on older versions of the image are also provided, here.
Have fun ^-^
And, as always, any problems or comments, please post either in this thread, or in the project's thread on the Raspberry Pi forums (here).
PS: I aim to release the PINN variant of this v1.4.2 image in a week or so, real-world commitments permitting ^-^
Split from Bootable 64-bit RPi3 Gentoo image (OpenRC/Xfce/VC4) UPDATED and stuck in its place.
--NeddySeagoon
Unstuck 28-Feb-21 -- NeddySeagoon _________________ Regards,
sakaki
Last edited by Sakaki on Thu Jun 25, 2020 1:37 am; edited 5 times in total |
|
Back to top |
|
|
Sakaki Guru
Joined: 21 May 2014 Posts: 409
|
Posted: Mon Jun 24, 2019 9:11 am Post subject: |
|
|
For those who prefer that install route, the v1.4.2 gentoo-on-rpi3-64bit image is now also available for install through PINN (called gentoo64 - and, for the PiTop v1 variant, gentoo64pt - there).
PS the new Pi4 has been officially announced today, so I guess we have another porting target for Gentoo now ^-^ _________________ Regards,
sakaki |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54618 Location: 56N 3W
|
Posted: Mon Jun 24, 2019 9:39 am Post subject: |
|
|
Sakaki,
I've just ordered the 4G version. :)
Thank you for the tip off. It won't ship until July 5 though.
-- edit 25 June --
My supplier set low expectations then exceeded them. Its in the post already :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Last edited by NeddySeagoon on Tue Jun 25, 2019 6:37 pm; edited 1 time in total |
|
Back to top |
|
|
paluszak Apprentice
Joined: 28 Jun 2004 Posts: 266 Location: Warsaw, Poland
|
Posted: Tue Jun 25, 2019 1:37 pm Post subject: |
|
|
My Raspberry Pi 4 is on the way, so I hope we'll get an image as well. With USB3, 4G RAM and a faster Ethernet it could have a zillion new uses, like NAS or ceph node. |
|
Back to top |
|
|
Sakaki Guru
Joined: 21 May 2014 Posts: 409
|
Posted: Sat Jun 29, 2019 11:29 am Post subject: |
|
|
paluszak wrote: | My Raspberry Pi 4 is on the way, so I hope we'll get an image as well. With USB3, 4G RAM and a faster Ethernet it could have a zillion new uses, like NAS or ceph node. | Getting a sensible 64-bit defconfig-ish kernel build up is really the gating step here. Once that's done, I will probably look to spin a gentoo-on-rpi4-64bit image, real-world commitments permitting ^-^ _________________ Regards,
sakaki |
|
Back to top |
|
|
orion777 Apprentice
Joined: 15 Mar 2017 Posts: 207 Location: Riga, Latvia
|
Posted: Thu Jul 04, 2019 9:06 am Post subject: |
|
|
Good day, Sakaki et.all!
Starting from some releases, the WiFi module remains continuously enabled. The command ifconfig wlan0 down can remove it from the list of active connections (till reboot), but the indicator still is blinking; as well as after the reboot it again appears in the list of interfaces.
Since I would like to reduce the interference in 2.4GHz band, as well to reduce the power consumption too, does there any ways how to disable this interface and prevent it to bring up automatically after reboot? |
|
Back to top |
|
|
antonlacon Apprentice
Joined: 27 Jun 2004 Posts: 257
|
Posted: Fri Jul 05, 2019 11:34 pm Post subject: |
|
|
orion777 wrote: | ... does there any ways how to disable this interface and prevent it to bring up automatically after reboot? |
Add (or adjust existing)
Code: | dtoverlay=pi3-disable-wifi |
to /boot/config.txt. pi3-disable-bt will disable bluetooth, if desired. |
|
Back to top |
|
|
orion777 Apprentice
Joined: 15 Mar 2017 Posts: 207 Location: Riga, Latvia
|
Posted: Tue Jul 09, 2019 11:52 am Post subject: |
|
|
antonlacon wrote: |
Add (or adjust existing)
Code: | dtoverlay=pi3-disable-wifi |
to /boot/config.txt. pi3-disable-bt will disable bluetooth, if desired. |
Okay, now wlan0 is not listed in the ifconfig list; but the green indicator is still blinking. Does it should to be like this? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54618 Location: 56N 3W
|
Posted: Tue Jul 09, 2019 4:05 pm Post subject: |
|
|
orion777,
Try the rfkill command. That should turn off the WiFi transmitter.
It can control WiFi and Bluetooth separately. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
antonlacon Apprentice
Joined: 27 Jun 2004 Posts: 257
|
|
Back to top |
|
|
janbielanski n00b
Joined: 06 Jul 2019 Posts: 32 Location: Krakow
|
Posted: Tue Jul 23, 2019 9:33 am Post subject: |
|
|
Hello, I am using your RPI3 ARM64 image and I wanted to configure hostapd but I got failed. I don't know what I did wrong (on Raspbian I don't have any problems but I don' t want Raspbian because I want to learn ARM64 bit architecture and AArch64 assembler). I posted my problem here: https://forums.gentoo.org/viewtopic-t-1099624-highlight-.html |
|
Back to top |
|
|
Sakaki Guru
Joined: 21 May 2014 Posts: 409
|
Posted: Wed Jul 24, 2019 8:33 pm Post subject: |
|
|
Hi janbielanski,
please see my reply in your thread quoted above. _________________ Regards,
sakaki |
|
Back to top |
|
|
orion777 Apprentice
Joined: 15 Mar 2017 Posts: 207 Location: Riga, Latvia
|
Posted: Fri Jul 26, 2019 6:39 pm Post subject: |
|
|
Good evening!
NeddySeagoon wrote: | orion777,
Try the rfkill command. That should turn off the WiFi transmitter. It can control WiFi and Bluetooth separately. |
Yes, rfkill, as well as dtoverlay=pi3-disable-wifi in the /boot/config.txt removes wlan0 from the list. However, green indicator on rpi3 still is periodically blinking, that allows me to think that the Wi-Fi device is still enabled.
antonlacon wrote: | dtparam=eth_led0=14
dtparam=eth_led1=14
in config.txt (probably before naming dtoverlays) |
These parameters, probably, are related to only green and yellow indicators of the ethernet interface.
In my case I would like to disable unnecessary equipment like wlan and bt (not their indication) to reduce interference and power consumption.
Maybe I'm wrong and I do not have to do this? |
|
Back to top |
|
|
janbielanski n00b
Joined: 06 Jul 2019 Posts: 32 Location: Krakow
|
Posted: Thu Aug 01, 2019 7:55 pm Post subject: |
|
|
Sakaki wrote: | Hi janbielanski,
please see my reply in your thread quoted above. |
janbielanski wrote: | Problem has been solved. The source of problem was configuration file:
Code: |
# DNS Domain
dns_domain_lo="astro-pi64.org"
# CONFIG eth0 [network access]
config_eth0="dhcp"
# WIFI ACCESS POINT
# ** network connection
#modules_wlan0="wpa_supplicant"
#config_wlan0="dhcp"
# ** access point
modules_wlan0="[b]!iw[/b] !iwconfig !wpa_supplicant"
config_wlan0="192.168.66.3/24 brd 192.168.66.0"
routes_wlan0="default via 192.168.66.1"
rc_net_wlan0_provide="!net"
|
I missed to exclude completely iw interface (!iwconfig is not enough, I have to exclude also !iw).
I had seen this mistake when I tried to setup AP on on computer for testing. |
|
|
Back to top |
|
|
janbielanski n00b
Joined: 06 Jul 2019 Posts: 32 Location: Krakow
|
Posted: Thu Aug 01, 2019 8:06 pm Post subject: New problem with media-gfx/fotoxx |
|
|
Hello
When I run genup i could not update media-gfx/fotoxx:
Code: |
emerge -av media-gfx/fotoxx
Local copy of remote index is up-to-date and will be used.
* Last emerge --sync was czw, 13 cze 2019, 02:35:01.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] media-gfx/fotoxx-18.01.3-r1::sakaki-tools [18.01.3::sakaki-tools] 6 687 KiB
Total: 1 package (1 upgrade), Size of downloads: 6 687 KiB
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-gfx/fotoxx-18.01.3-r1::sakaki-tools
>>> Downloading 'https://www.kornelix.net/downloads/tarballs/fotoxx-18.01.3.tar.gz'
--2019-08-01 21:50:18-- https://www.kornelix.net/downloads/tarballs/fotoxx-18.01.3.tar.gz
Resolving www.kornelix.net... 209.124.66.20
Connecting to www.kornelix.net|209.124.66.20|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-08-01 21:50:18 ERROR 404: Not Found.
!!! Couldn't download 'fotoxx-18.01.3.tar.gz'. Aborting.
* Fetch failed for 'media-gfx/fotoxx-18.01.3-r1', Log file:
* '/var/tmp/portage/media-gfx/fotoxx-18.01.3-r1/temp/build.log'
>>> Failed to emerge media-gfx/fotoxx-18.01.3-r1, Log file:
>>> '/var/tmp/portage/media-gfx/fotoxx-18.01.3-r1/temp/build.log'
* Messages for package media-gfx/fotoxx-18.01.3-r1:
* Fetch failed for 'media-gfx/fotoxx-18.01.3-r1', Log file:
* '/var/tmp/portage/media-gfx/fotoxx-18.01.3-r1/temp/build.log'
|
I think package ebuild need to be updated (current version of fotoxx library is 19.0). |
|
Back to top |
|
|
Sakaki Guru
Joined: 21 May 2014 Posts: 409
|
Posted: Wed Aug 07, 2019 11:03 am Post subject: Re: New problem with media-gfx/fotoxx |
|
|
janbielanski wrote: | Hello
When I run genup i could not update media-gfx/fotoxx:
...
I think package ebuild need to be updated (current version of fotoxx library is 19.0). |
I have just pushed a preliminary ebuild for fotoxx-19.13 (commit) to the sakaki-tools overlay.
Amongst other things, the SRC_URI prefix for the upstream source tarballs seems to have moved (again!).
The ebuild still has a few QA issues, but seems to install and run OK.
Apologies for delayed responses btw, bit snowed working on the Pi4-compatible release.
Anyway, thanks for bringing this one to my attention, and please let me know of any issues with the new ebuild. _________________ Regards,
sakaki |
|
Back to top |
|
|
Sakaki Guru
Joined: 21 May 2014 Posts: 409
|
Posted: Thu Aug 15, 2019 10:21 pm Post subject: |
|
|
Migration of rpi3 Overlay Name to genpi64
The following is taken from a news item that affected users should have received - but I copy it below for reference in case today's migration has badly broken anyone's system.
Hello,
In light of the forthcoming (image in soft freeze now) Pi4 support, I have decided to rename the main ebuild repo used by the image, from rpi3-overlay (repo name "rpi3" [1]) to genpi64-overlay (repo name "genpi64"). The custom profile name has also been changed (from default/linux/arm64/17.0/desktop/rpi3 to default/linux/arm64/17.0/desktop/genpi64).
Migration
Along with today's commits migrating the repository name, you will also have received a 'fixup' script, which will correct your /etc/portage/repos.conf entry, and also change the repo name in entries in the /var/db/pkg/... database. The script may be viewed here.
(The GitHub URI for the overlay project has also changed, from [2] to [3], but as they automatically redirect moved project links, your old URI should still refer, while the migration is happening.)
This fixup script will be run automatically, within a week at most, by a cron.weekly service already installed on your RPi. However, if you wish to correct the repo name immediately (or you have the weekly fixup service disabled), then simply issue the following commands on your RPi (if running as demouser, prefix them with sudo): Code: | pi64 ~ # emaint sync --repo rpi3
pi64 ~ # /etc/cron.weekly/fixup |
Results may be viewed in /var/log/latest-fixup-run.log (the relevant fixup is number 0007, and lives at [4] pre-migration, and [5] post-migration). It does nothing on a system where the name has already been migrated.
Once complete, run the follow to update your eix cache: Code: | pi64 ~ # eix-sync -0 |
(that's a zero).
Then, run the following, to make sure your weekly fixup service can still locate files in the moved repo: Code: | pi64 ~ # emerge -vu app-portage/weekly-genup |
Testing
Once migration has completed, make sure that: Code: | pi64 ~ # emaint sync --repo genpi64 |
completes without errors. Also run: Code: | pi64 ~ # eselect profile show |
and check it returns: Code: | Current /etc/portage/make.profile symlink:
genpi64:default/linux/arm64/17.0/desktop/genpi64 |
If so, congratulations! You have successfully migrated repos.
Post-Migration Use
Once the migration has taken place, you will need to use: Code: | pi64 ~ # emaint sync --repo genpi64 |
wherever once you used: Code: | pi64 ~ # emaint sync --repo rpi3 |
Otherwise, nothing else should change (packages installed from the binhost do not need reinstallation, or anything like that).
If you experience any issues with this migration process, please feel free to contact me (sakaki@deciban.com).
References
[1] Yes, this wasn't the most future-proof choice of name on my part. Apologies ><
[2] https://github.com/sakaki-/rpi3-overlay
[3] https://github.com/sakaki-/genpi64-overlay
[4] /usr/local/portage/rpi3/app-portage/weekly-genup/files/fixup-0007-migrate-rpi3-overlay-to-genpi64.sh
[5] /usr/local/portage/genpi64/app-portage/weekly-genup/files/fixup-0007-migrate-rpi3-overlay-to-genpi64.sh
_________________ Regards,
sakaki |
|
Back to top |
|
|
spork_kitty Tux's lil' helper
Joined: 05 Jul 2019 Posts: 124
|
Posted: Sun Aug 18, 2019 4:25 pm Post subject: |
|
|
A quick note: the /etc/cron.weekly script is only present if dev-embedded/rpi3-64bit-meta is built with 'weekly-genup' set in USE (which installs app-portage/weekly-genup). To be fair, that's the default, but when I attempted to run it on my Pi, it was not present. Running the script straight from [4] (after syncing) did the trick, though.
--
Are there any plans to add nftables support? I checked out /boot/config and saw something about XTABLES. None of the family support appears to be there, either.
If that file is incorrect, my apologies. I didn't see /proc/config.gz either, to check what the running kernel is using. Which package do you build your kernels from? I can try building my own from it to enable nftables.
This image is awesome, btw. Easily the best distro that I've found to put on a Pi, even though compiling is a problem (until I have my desktop do compiling for it. ) |
|
Back to top |
|
|
Sakaki Guru
Joined: 21 May 2014 Posts: 409
|
Posted: Mon Aug 19, 2019 12:21 am Post subject: |
|
|
spork_kitty wrote: | Are there any plans to add nftables support? I checked out /boot/config and saw something about XTABLES. None of the family support appears to be there, either.
If that file is incorrect, my apologies. I didn't see /proc/config.gz either, to check what the running kernel is using. Which package do you build your kernels from? I can try building my own from it to enable nftables. |
If there are any features missing from the kernel you feel would be generally useful, feel free to submit a PR against the conform_config.sh script of bcmrpi3-kernel-bis (and/or bcm2711-kernel-bis, for the RPi4), which are the weekly autobuilds that supply the kernels. Here's an example.
BTW the reason you can't see /proc/config.gz is that to save RAM, bcm{rpi3,2711}_defconfig specify this feature be built as a module. If you "sudo modprobe configs", /proc/config.gz should magically appear ^-^ _________________ Regards,
sakaki |
|
Back to top |
|
|
Sakaki Guru
Joined: 21 May 2014 Posts: 409
|
Posted: Mon Aug 19, 2019 3:24 am Post subject: |
|
|
Hello,
I've just posted a v1.5.0 release of my bootable 64-bit Gentoo image on GitHub (here, includes full download instructions).
This release marks a significant milestone for the project, as the RPi4 is now supported (in addition to the RPi3 model B and B+, which remain supported too).
Thanks to rapid upstream progress on aarch64 kernel work for the new board, there are surprisingly few compromises required when running the Pi4 under a 'pure' 64-bit OS such as this one. Specifically, for the Pi4 in this 1.5.0 release:- V3D graphics acceleration is supported in X under vc4-fkms-v3d / Mesa;
- the full 4GiB complement of memory is usable (if you are lucky enough to own a top-of-the-line model, that is ^-^);
- the V4L2 M2M video codecs and optional plug-in camera module are both usable;
- use of dual HDMI displays is supported;
- Bluetooth, fast Ethernet, and dual-band WiFi work.
All software on the image (userland and kernel) has been ground-up recompiled using "march=armv8-a+crc -mtune=cortex-a72 -O2" CFLAGS, meaning it should be optimized for the out-of-order pipeline provided by the newer Pi4's Cortex-A72 SoC, while still retaining backwards compatibility with the older RPi3 B/B+'s Cortex-A53.
A screenshot of the image running on a dual-display RPi4 B may be viewed here.
As always, you can burn the image (~1,643MiB compressed) to a microSD card (>=16GB), then boot your RPi3 or RPi4 from it directly (the root partition will be automatically resized to fill the card on first boot). Full instructions for download and use are provided on the project's GitHub page.
Since the image contains a complete (OpenRC-based) Gentoo system (including a full Portage tree, up-to-date as of 10 August 2019), you can run emerge operations immediately. But as it also comes with a reasonably populated userland (see the screenshot referred to above; all the apps shown, and many others, are bundled), you can get productive without having to compile or configure anything first (unless you want to, of course ^-^). Just download, xzcat to a microSD card (or use Etcher), and boot!
NB: as you may have noticed, the project's name on GitHub has changed, from gentoo-on-rpi3-64bit to gentoo-on-rpi-64bit, to reflect the fact that the RPi4 is now also supported. Thanks to the way GitHub does things, people trying to find the old project should be automagically redirected to the renamed version. My bad in choosing an over-limiting moniker first time ><
A changelog from the prior release image (with full manual upgrade instructions) may be viewed here, but in summary:- Updated the RPi3 kernel (from the bcmrpi3-kernel-bis weekly autobuild) to version 4.19.66.20190816.
- Added an additional kernel (from the bcm2711-kernel-bis weekly autobuild). This second kernel is used when booting the RPi4, lives at /boot/kernel8-p4.img, and is a tweaked version, as the name suggests, of a completely separate configuration: bcm2711_defconfig, as opposed to bcmrpi3_defconfig. The two kernels have distinguished release names, and so separate subdirectories in /lib/modules, but as they are built together, they share a common kernel tree tip commit. The kernel version used in this release includes (on the bcm2711 build) the recently-upstreamed PR#3144 (which allows the full 4GiB of RAM to be used, where present) and PR#3063 (which enables the use of V3D acceleration on the Pi4). The two kernels have auto-generated ebuilds by which they are installed: sys-kernel/bcmrpi3-kernel-bis-bin and sys-kernel/bcm2711-kernel-bis-bin, respectively.
- Boot firmware updated to sys-boot/rpi3-64bit-firmware-1.20190718, and userland libraries to media-libs/raspberrypi-userland-1.20190808 (for dual-monitor aware tvservice utility etc.)
- Size of the boot partition on the image expanded, from 63MiB to 255MiB, to accommodate the new dual-kernel setup just described (required for RPi3/4 booting).
- Added dev-lang/go (it's been the most frequently requested package), and (an arm64 Pi4 patched version of) dev-libs/pigpio (for easy control of GPIOs) to the core package set.
- Added sys-block/gparted (for disk management), net-misc/xorgxrdp and net-misc/tigervnc[server] (for remote access), media-sound/pavucontrol for pulseaudio (also made this a default USE flag), and x11-misc/arandr (for multi-screen layouts) to the xfce package set. (Also modified the arandr ebuild to add a login service that auto-loads layouts saved to ~/.screenlayout/default.sh).
- Added app-office/abiword to the apps set (a lighter alternative to libreoffice writer - which remains bundled too - that some may prefer).
- Included a slightly tweaked media-libs/mesa to allow v3d acceleration on the RPi4. Standard vc4 acceleration on the RPi3 is still supported.
- Updated the pyconfig_gen application (found at Settings -> RPi Config Tool): now supports configuring a second monitor (on the Pi4), and also setting the WiFi regulatory domain (RPi3/4). A simple overclocking "manettino" ^-^ for the Pi4 is also provided (all permitted settings should be warranty-safe, per RPF advice, but use at your own risk!).
- Updated the media-video/pi-ffcam "camera live view" applet to work with the Pi4 (found in the Multimedia menu).
- Also updated the media/video/pi-ffplay application for the Pi4 (again found in the Multimedia menu, this is a trivial app to illustrate accessing the Pi 3/4's hardware video codecs via v4l2m2m).
- Moved 6by9's patches to media-video/ffmpeg (upon which the two apps above rely) forward to version 4.1.4, as these don't seem to be upstream yet.
- Tidied up a number of boot-time services for RPi4 compatibility (e.g., x11-misc/rpi3-safecompositor etc.). Note that for simplicity I have not renamed these, so please don't disable or remove services just because their name starts with "rpi3-" (as for the most part, they still do something useful on an RPi4 too!).
- I did change the name of the main repo used by the image though, from "rpi3" to "genpi64", and migrated the custom profile too. You can read more about this here.
- Version bumped sys-boot/rpi3-boot-config, to update the baseline /boot/config.txt file for use with the Pi4 (while still retaining compatibility with the Pi3B/B+).
- Renamed the master meta-package, from rpi3-64bit-meta to rpi-64bit-meta.
- Added LLVM_TARGETS="WebAssembly BPF" (in addition to the default AArch64), to allow dev-lang/rust to be built with the wasm USE flag.
- Various minor ebuild tidy-ups.
- All packages brought up-to-date against the Gentoo tree, as of 10 August 2019 (which means e.g., www-client/firefox-68.0.1, www-client/chromium-76.0.3809.87-r1, app-office/libreoffice-6.3.0.4 etc. are bundled; a full list of installed packages may be found here).
A variant image for the Pi-Top v1 (an RPi3-based DIY laptop) is also included, as usual.
I also aim to provide PINN versions of both these images shortly, for those that prefer that installation route.
Have fun ^-^
And, as always, any problems or comments, please post either in this thread, or in the project's thread on the Raspberry Pi forums (here).
PS: Updated EEPROM Firmware
If you are using a Pi4, don't forget to update your EEPROM firmware; there's an official fix released that will allow your system to use ~300mW less power. For more information, please see here.
PPS: USB Shortcomings
As this release comes early in the lifecycle of the RPi4, expect to find a number of bugs and issues with it! In particular, one major issue, (due, as I understand it, per this post by 6by9, to a lack of FIQ fast interrupt handling on aarch64) is that isochronous transfers over USB are likely to be pretty bad in 64-bit compared to 32-bit. For example, USB webcams etc will drop frames (bulk transfers, as you might get e.g. when copying large files to and from a storage device, work fine on USB under 64-bit however; as do low-speed peripherals such as mice and keyboards).
Acknowledgement
Thanks to NeddySeagoon for maintaining his public bloodnoc.org armv8a binhost - I needed to do a full --emptytree @world rebuild as part of this image prep, which highlighted quite a few issues (packages that no longer built from source properly, but had tbz2s in my isshoni.org binhost and so didn't show up in regular @world updates) - having his tbz2's to check build settings against (qtbz2 and qxpak are your friends!) was a really useful resource!
Edited to add acknowledgement. _________________ Regards,
sakaki
Last edited by Sakaki on Tue Aug 20, 2019 10:14 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54618 Location: 56N 3W
|
Posted: Mon Aug 19, 2019 8:09 am Post subject: |
|
|
Sakaki,
Check your Pi kernel for UAS support. The Pi4 USB3 can do it and its harmless to enable anyway.
Users with a suitable USB block storage device on the USB3 ports will get a speed improvement as bulk mode is no longer used, so you can have overlapping commands.
Further, UAS should bring support for trim/discard which will make SSD users happy.
My USB/SATA doda needs a Windows only firmware update to pass the trim command, so I've not tried it as I have not had Windows since 2002.
The Pi4 microSD supports trim too. Try on your SD card partitions.
I'm using the same card as I was in the Pi3 and it didn't work there. You need a suitable SD card.
I'll need to poke at the vc4-fkms-v3d support. I missed that. Even with Xorg using fbdev, the Pi4 plays dvd rips from a USB storage device.
Thank you.
Keep up the good work.
-- edit --
Did you cheat and flash your Pi4 firmware in 32 bit mode ?
Code: | Pi4_~arm64 ~/Pi4_Firmware # chmod a+x vl805
Pi4_~arm64 ~/Pi4_Firmware # ls -l
total 452
-rwxr-xr-x 1 root root 139240 Jun 28 09:46 vl805
-rw-r--r-- 1 root root 96984 May 3 10:09 vl805_fw_013701.bin
-rw-r--r-- 1 root root 97432 May 17 16:49 vl805_fw_0137a8.bin
-rw-r--r-- 1 roy users 126338 Aug 19 09:14 vl805_update_0137a8.zip
Pi4_~arm64 ~/Pi4_Firmware # ./vl805
-su: ./vl805: No such file or directory |
I'm missing all the 32 bit dependencies :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Last edited by NeddySeagoon on Mon Aug 19, 2019 8:26 am; edited 1 time in total |
|
Back to top |
|
|
Maitreya Guru
Joined: 11 Jan 2006 Posts: 445
|
Posted: Mon Aug 19, 2019 8:20 am Post subject: |
|
|
Again, Sakaki, great work and thank you!
Does the new release also include a fix for the green hue of v4l2m2m? |
|
Back to top |
|
|
Sakaki Guru
Joined: 21 May 2014 Posts: 409
|
Posted: Mon Aug 19, 2019 10:33 am Post subject: |
|
|
NeddySeagoon wrote: | Check your Pi kernel for UAS support. The Pi4 USB3 can do it and its harmless to enable anyway.
...
|
Thanks, I'll have a look into that.
NeddySeagoon wrote: | Did you cheat and flash your Pi4 firmware in 32 bit mode ? |
Lack of sleep -> I cheated ^-^
Interestingly per this article, you can use the bundled tool to write to any location on the EEPROM:
Code: | ./vl805 -h
Usage: vl805 [<options>]
where <options> are taken from:
-h Show this help message
-r <file> Read EEPROM
-w <file> Write EEPROM
-v <file> Verify EEPROM
-o <offset> Specify an offset to read from/write to (for testing).
N.B. Erases to the end of the EEPROM!
-d Verbose debugging |
Wonder if they cryptographically sign, or at least checksum, the bootloader payload in there?
Maitreya wrote: | Does the new release also include a fix for the green hue of v4l2m2m? |
I believe so - the bundled pi-ffplay app doesn't show the green cast anyhow, and it uses the m2m codecs. Apply 6by9's patches to ffmpeg as shown here, and it should just work (provided you have an up-to-date kernel). The ffmpeg shipped with the image has had this patchset applied. _________________ Regards,
sakaki |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54618 Location: 56N 3W
|
Posted: Mon Aug 19, 2019 3:21 pm Post subject: |
|
|
Sakaki,
The Open Source VC4 driver works for me. Thank you.
I even get 3840x2160@30Hz, which came as a bit of a surprise as my display is not supposed to support 3840x2160 at all on HDMI inputs.
I had to revert the firmware change as dmesg filled up with
Code: | ...
[ 969.734489] scsi host0: uas_eh_device_reset_handler start
[ 969.863916] usb 2-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 969.891451] scsi host0: uas_eh_device_reset_handler success
[ 1000.470943] sd 0:0:0:0: [sda] tag#6 uas_eh_abort_handler 0 uas-tag 1 inflight: IN
[ 1000.470954] sd 0:0:0:0: [sda] tag#6 CDB: opcode=0x28 28 00 1b e2 38 91 00 01 00 00
[ 1000.486938] scsi host0: uas_eh_device_reset_handler start
[ 1000.616014] usb 2-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 1000.642181] scsi host0: uas_eh_device_reset_handler success
... |
Oh, that's UAS in use. Its fine with the old firmware.
Posted from my 64 bit Pi4 _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Kashire n00b
Joined: 08 Apr 2019 Posts: 31
|
Posted: Mon Aug 19, 2019 4:11 pm Post subject: |
|
|
Nice! Thank you Sakaki!
EDIT: I know this is a niche thing, but I am able to fully get qtwebengine + qutebrowser to compile after I edited the zswap to be 8192 MB. [edit /etc/conf.d/rpi3-expand-swap]
Last edited by Kashire on Tue Aug 20, 2019 6:12 pm; edited 1 time in total |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|