An unofficial Debian Installer for Pinebook Pro - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: An unofficial Debian Installer for Pinebook Pro (/showthread.php?tid=8487) |
RE: An unofficial Debian Installer for Pinebook Pro - danielt - 01-15-2020 (01-14-2020, 09:14 PM)ab1jx Wrote: This is fun, I like it because it uses debootstrap and you potentially end up with a cutting-edge system. But I wonder if it's possible to toughen it so it drops breadcrumbs and checks for those as it goes along. For those of us with unreliable networks where everything isn't likely to get done at once. I got up to choosing software, lxde, web server, etc, then everything went dead. Restarted and it went back and partitioned the SD again, got up to about the same place and died again. My new SD boots to a very basic system with no network. Since I think I can muddle through by doing dpkg -i downloaded debs on usb devices until I get network I'll probably continue. There's nothing automatic but there is some support in the script for taking things a step at a time so it might be worth taking a look the internal functions. Each of the functions starting with do_ can be run on its own by putting it on the command line (do_all is just the default). For example if the installer failed during the installation of the GUI desktop then I think you can do something like: ./install-debian BLKDEV=... do_mount do_tasksel do_umount (and I think will preserve the cache of any binaries fetched during the previous task selection). Naturally the other trick is to simply not select any additional software and then run tasksel by hand from within the newly install distro. (01-14-2020, 06:50 PM)ThatGeoGuy Wrote: I'm trying to figure out what the rough edges would be, but not having encryption support on a laptop is a pretty big one for me.I assume by default most of the inputs work, and WiFi / Bluetooth is in good shape? If so, it doesn't seem too limited in comparison to default debian, so I'll take your word for it. My plan is to avoid most DEs anyways, and probably stick to awesomewm/sway/i3 anyways. So assuming the basics are working, I don't think my needs are too complex WiFi works but I'm not using (nor testing) bluetooth at the moment. I have seen some people have had difficulty making it work (check out the mainline kernel thread for clues... IIRC there was something about manually supplying a MAC address). To be clear I am using a distro built by (a very old version) of the installer as my only OS on the PBP. It's robust and I'm now using PBP to build it's own kernel and bootloaders. Having said that I'm not spending quite as much time on PBP as I might like... because I have a PineTime too ;-) . RE: An unofficial Debian Installer for Pinebook Pro - bisco - 01-15-2020 Hi, thanks for the installer script, that makes installing a nearly pure Debian much easier! I was trying to build my own kernel based on the posts in this thread, but when cloning https://gitlab.manjaro.org/tsys/linux-pinebook-pro and then running Code: make ARCH=arm64 pinebook_pro_defconfig Did you first base the config on the config of the system you built the kernel on and then used the `pinebook_pro_defconfig`? RE: An unofficial Debian Installer for Pinebook Pro - Antoine - 01-15-2020 Hi Daniel, Thanks a lot for your installer. It is much more polished and efficient than what I was doing manually. I have an issue with libva (video decoding acceleration). VLC is crashing when I launch a video and I can see the same error as in the vainfo command: Code: antoine@frisbee:~$ vainfo In fact, looking at the kernel output I can see multiple failures to load the firmware: Code: antoine@frisbee:~$ dmesg |grep dptx The firmware is present in /lib/firmware/rockchip and initramfs-update has been ran. I am a bit frustrated not being able to run vlc. Is there anybody who has had the same problems? Antoine RE: An unofficial Debian Installer for Pinebook Pro - danielt - 01-16-2020 (01-15-2020, 12:01 PM)bisco Wrote: Hi, thanks for the installer script, that makes installing a nearly pure Debian much easier! Currently I do the following to configure: Code: make pinebook_pro_defconfig I think after changes on Thomas' side some of the above will be redundant but I haven't cleaned it up yet. However disabling MODULE_COMPRESS is mandatory for Debian and disabling HARDEN_EL2_VECTORS is needed for the maxcpus=4 boot time workaround to work correctly. Once configured I build as follows (I adjust KVER by hand at present... but it would script quite easily). Code: KVER=5.4.2-1-pinebookpro-arm64 Note that the KVER/PVER stuff is mostly there to ensure the packages can be parallel installed (e.g. if you apt update from my repo it doesn't clobber your existing kernel). PS I'm happy to point you at my exact kernel sources if you have problems getting something working but, to be honest, putting focus on my kernel is just splitting the development community. Using the Manjaro kernel for your work is, IMHO, better for everyone for now... and you can switch to "real" mainline as soon as Thomas' lands the remaining patches. RE: An unofficial Debian Installer for Pinebook Pro - bisco - 01-16-2020 (01-16-2020, 04:47 AM)danielt Wrote: Currently I do the following to configure:Thanks, that was exactly what I was looking for! I'm cross compiling the kernel right now! Quote:PS I'm happy to point you at my exact kernel sources if you have problems getting something working but, to be honest, putting focus on my kernel is just splitting the development community. Using the Manjaro kernel for your work is, IMHO, better for everyone for now... and you can switch to "real" mainline as soon as Thomas' lands the remaining patches.Yeah, I agree- and maybe we can then also use the arm64 kernel package directly from Debian RE: An unofficial Debian Installer for Pinebook Pro - Antoine - 01-16-2020 (01-15-2020, 05:28 PM)Antoine Wrote:I have found the missing driver on github : https://github.com/hizukiayaka/rockchip-video-driver I am able to compile the master branch and use this driver to launch vlc (using the environment variable LIBVA_DRIVERS_PATH). The video is smooth even at quite high resolution but the colors seem a bit odd. I can compile the devel branch but there is a linking error at runtime. RE: An unofficial Debian Installer for Pinebook Pro - rillian - 01-16-2020 Where is a good place to keep track of bugs related to the Bullseye image? Maybe on the installer github project? It's easy for issues to get lost on the forum, but filing directly with Debian or upstream makes it hard for Pinebook community members to see the status of thing. Issues I've noticed so far (Gnome Desktop): - Issues waking from suspend (~30 seconds for the screen to come back on...or never). - Screen brightness keys don't work. - Packaged Firefox crashes (upstream builds work but are tier-2 and don't update themselves). RE: An unofficial Debian Installer for Pinebook Pro - wdt - 01-16-2020 I was going to ask if the script could be run from x64, then saw all the mount --bind, and thought 'better not' Quite a slick script, completed OK, but, but after struggling for 4-5 hours, I would say debian arm64 is not ready for prime time It felt like I had entered a time warp, back to slackware 3 or so... I quickly black-screened plasma, then noticed the only browser that worked, epipany and nv3 were.... lacking(mostly white screen,,crash after few minutes) firefox (illegal instruction, nothing else), konqueror , falkon (dbind error) then after a shut off, a hour trying to get connected, (there was no connection applet in lxqt, icewm, mate, enlightenment, gnome),,, nmcli (I have used before) refused my CORRECT password! A black screen plasma got me connected,, (there was a 1 second flash that I could see connection circle) But cups worked!! and picked up config from eMMC (mrfixits ver did not work,,airprint) with nv3, but it quickly crashed. Lots of init 3;init 5 (with the black plasma) Maybe when debian is more mature RE: An unofficial Debian Installer for Pinebook Pro - NigelT - 01-16-2020 Hi Daniel, Many thanks for sharing your debian-install script, it worked really well for me. I used it to perform a minimal install of Debian bullseye/sid onto a microSD card, then once booted into bullseye used the normal apt commands to install the other packages I wanted. I have 1 comment on the script's default block device and 1 question regarding firmware. "install-debian"'s default block device. With my PBP running the default Debian 9.11 / Mint Linux Debian-Desktop 4.4.207 #2 SMP Sat Dec 21 22:42:47 EST 2019 aarch64 GNU/Linux The block device names are as follows: mmcblk1 = internal eMMC device mmcblk0 = microSDXC card However, once booted into Debian bullseye/sid, those devices have different names mmcblk2 = internal eMMC device mmcblk1 = microSDXC card Note how mmcblk1 can either be the internal eMMC or the MicroSD card. Caution is needed here as if one is running from the default OS on the eMMC and intends to install to micoSD card the default device used by install-debian script looks like it would overwrite the internal eMMC rather than installing to the microSD slot. This might catch people out, maybe the script have no default value for the block device and insist it is specified. (If anyone reading this post wants to install the SD and is now concerned about which device name to use for; one way to double check which device has been given which name is by running the blkdev command with the SD slot empty then again with an SD card inserted. The 2nd run of blkdev should show an additional device, this will be the SD card. Now without rebooting use this device name and BLKDEV argument of the install-debian script. ./install-debian BLKDEV=/dev/???? ) Firmware dptx: I see the same firmware issue with dptx as Antoine reported in #73 Code: root@Debian-Desktop:~# dpkg -S /lib/firmware/rockchip/dptx.bin Does anyone have dptx.bin loading ? How ? RE: An unofficial Debian Installer for Pinebook Pro - danielt - 01-17-2020 (01-16-2020, 09:40 PM)rillian Wrote: Where is a good place to keep track of bugs related to the Bullseye image? Maybe on the installer github project? It's easy for issues to get lost on the forum, but filing directly with Debian or upstream makes it hard for Pinebook community members to see the status of thing. Issues on github is fine but I'll probably close anything that isn't caused by a bug in the installer or the kernel. IMHO upstream bugs belong in upstream bug trackers. I'm also of the view that bug trackers aren't the best way to see the overall status of things. They focus exclusively on what doesn't work, which can be pretty misleading. Better IMHO to create a wiki page for the release and create tables of what is and isn't work plus perhaps some free form notes to transient upstream issues (such as the firefox problems). Not only is that more useful for users but it can also be curated by anyone in the community who interested in compiling and maintaining such information! If someone does put together such a page I'd be happy to link to it from the first post. |