Go to advanced search

by dickon
Tue Oct 08, 2019 4:59 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 324
Views: 115574

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Will that help? I don't want multiple kernels installed -- beyond the 32b and 64b variants we already have -- but I do need some way to select the correct initrd, ideally based on the arm_64bit flag.
by dickon
Tue Oct 08, 2019 3:38 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 324
Views: 115574

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

It's annoying that mkinitramfs doesn't take multiple kernel versions, so you only ever end up with either the 32b or 64b modules in the initrd. That precludes using one initrd for either kernel, and means you need to make more than just the one-line change to config.txt when swapping around (either ...
by dickon
Tue Oct 08, 2019 9:52 am
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 17432

Re: RPI4: Why is everything still 32-bit?

LTolledo wrote:
Tue Oct 08, 2019 9:43 am
Forgive my ignorance, but
how is sudo, systemd and sysvinit part of the "...is still 32-bit" debacle? :?
They're all 32b processes on Raspbian..? :-)
by dickon
Tue Oct 08, 2019 9:52 am
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 17432

Re: RPI4: Why is everything still 32-bit?

**your doing it wrong** how do you attempt to use it , I boot the device, mostly, and something goes horribly wrong. I've long since given up trying to work out what and why, so just blow it away at the earliest convenience. One day it may work properly. I don't hold out much hope. It's too big, to...
by dickon
Tue Oct 08, 2019 8:32 am
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 17432

Re: RPI4: Why is everything still 32-bit?

I have no idea why, but every time I attempt to use it, it breaks. It's probably something I'm doing, but I don't know what, and can't track it down because it's such a fundamental part of the system that when it breaks, nothing boots. It's also 'solving' an utterly non-problem for me: booting quick...
by dickon
Tue Oct 08, 2019 8:11 am
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 17432

Re: RPI4: Why is everything still 32-bit?

But it's broken. Thoroughly broken.

sysvinit is simple -- probably too simple these days -- but works.
by dickon
Mon Oct 07, 2019 10:48 pm
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 17432

Re: RPI4: Why is everything still 32-bit?

That's OK. I just get *very* annoyed at systemd and sudo.
by dickon
Mon Oct 07, 2019 8:52 pm
Forum: General discussion
Topic: Am I the only one that still would buy a Raspberry Pi 3b+?
Replies: 55
Views: 3915

Re: Am I the only one that still would buy a Raspberry Pi 3b+?

T'other half's Wileyfox phone has it, as does my Gemini, and the imminent Cosmo. And the Khadas Vim. It's becoming quite popular.
by dickon
Mon Oct 07, 2019 8:00 pm
Forum: General discussion
Topic: Detect HDMI Split
Replies: 13
Views: 742

Re: Detect HDMI Split

He wants to do the opposite :-)
by dickon
Mon Oct 07, 2019 6:13 pm
Forum: General discussion
Topic: PI4 and 4K video player
Replies: 18
Views: 9465

Re: PI4 and 4K video player

Over the weekend, I attempted to build popcornmix's ffmpeg fork and link it against mplayer, but it didn't work. Clearly no acceleration was going on, and the output was interestingly corrupt on the screen. (Edit:) I should probably add that this wasn't much of a surprise. If it was that easy, someo...
by dickon
Mon Oct 07, 2019 5:23 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 324
Views: 115574

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Hmm. That means it isn't seeing its SD card, then. If the GPU has loaded the kernel from it, I'd assume the kernel is broken in some way.
by dickon
Mon Oct 07, 2019 4:43 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 324
Views: 115574

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

If it was me, I'd edit cmdline.txt and replace the bit where it says 'root=PARTUUID=...' with 'root=/dev/mmcblk0p2'. There's probably some actual proper way of doing it, but I've never liked partition UUIDs.
by dickon
Mon Oct 07, 2019 4:15 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 324
Views: 115574

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

That looks like it's waiting for its root filesystem. At a guess, you've managed to corrupt the partition table somehow, so the UUID has changed.
by dickon
Mon Oct 07, 2019 9:57 am
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 17432

Re: RPI4: Why is everything still 32-bit?

My point is, you're typing into a root prompt, which looks different, with a '#' instead of a '$' (conventionally), so you are aware that what you're doing is potentially dangerous. Conditioning people to simply prefix everything with a magic 'make all the permissions problems go away' string that s...
by dickon
Mon Oct 07, 2019 9:00 am
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 17432

Re: RPI4: Why is everything still 32-bit?

But there are some good things about systemd: sudo systemctl stop xxx sudo systemctl disable xxx :lol: sudo is a pestilence that needs to die. If you're going to do sysadmin tasks, do them as root. sudo just gets you into the habit of prefixing everything with it, which is much, much more dangerous...
by dickon
Sun Oct 06, 2019 10:49 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 324
Views: 115574

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

If it was me, I'd chroot into its filesystem and run rpi-update to fix it, but I assume you're not doing the sensible thing and netbooting the device.

Download an image and replace the boot filesystem with dd. Fairly simple job.
by dickon
Sun Oct 06, 2019 6:04 pm
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 17432

Re: RPI4: Why is everything still 32-bit?

ejolson wrote:
Sun Oct 06, 2019 5:53 pm
Does that also work on Raspbian Buster where everything is still 32-bit?
My Pi 4 is running it, yes. Vanilla Buster, with no significant changes, other than netbooting and NFS root. No desktop, though; the machine is strictly commandline only.
by dickon
Sun Oct 06, 2019 6:01 pm
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 17432

Re: RPI4: Why is everything still 32-bit?

I'm curious, in which way does systemd not work. I could rant, but I won't. I have managed to get systemd into a state where it logged the fact that the logging service had crashed, logged the fact that it was going to restart it, logged the fact that it had restarted the logging service, and then ...
by dickon
Sun Oct 06, 2019 5:33 pm
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 17432

Re: RPI4: Why is everything still 32-bit?

You can still run sysvinit on Debian and derivatives. I do on all my machines, for obvious reasons.

Code: Select all

apt install sysvinit-core
apt remove --purge systemd
reboot
apt remove --purge systemd
usually does the trick.
by dickon
Sun Oct 06, 2019 5:18 pm
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 17432

Re: RPI4: Why is everything still 32-bit?

Gentoo was great back in the day, before I got Debianized. By all accounts it still is. Although there's always that amusing quote from someone: 'No, Gentoo users' computers don't run slowly due to unoptimised code. Gentoo users' computers run slowly because they're always recompiling everything.' ...
by dickon
Sun Oct 06, 2019 1:17 pm
Forum: General discussion
Topic: How to INSTALL Linux onto a Raspberry 4?
Replies: 30
Views: 5074

Re: How to INSTALL Linux onto a Raspberry 4?

Yeah. Most places I've worked have standardised on Debian. It's free, very high quality, and just works.
by dickon
Sun Oct 06, 2019 1:04 pm
Forum: General discussion
Topic: PI4 and 4K video player
Replies: 18
Views: 9465

Re: PI4 and 4K video player

Kodi is an application. It runs on Buster, and should be able to play 4K H.265 video. 4K H.264 is not possible, as the hardware can't do it.

I'd like a commandline H.265 player like omxplayer, but I've no idea if one is in the works.
by dickon
Sat Oct 05, 2019 6:47 pm
Forum: General discussion
Topic: RPI4 - '/dev/ttyUSB" No such file or directory - Trying to connect to RpLidar
Replies: 6
Views: 761

Re: RPI4 - '/dev/ttyUSB" No such file or directory - Trying to connect to RpLidar

It's usually /dev/ttyUSB$number -- start at zero and work upwards...
by dickon
Sat Oct 05, 2019 6:37 pm
Forum: General discussion
Topic: Disk space full
Replies: 10
Views: 587

Re: Disk space full

Now that the Pi 4B supports network boot, it may be possible to eliminate the SD card entirely. It is. See that thread for what I've done. All my Pis netboot, and the ones which can do it natively do so without SD cards. The ones that can't have SD cards containing bootcode.bin only, which works ni...
by dickon
Sat Oct 05, 2019 4:43 pm
Forum: General discussion
Topic: Disk space full
Replies: 10
Views: 587

Re: Disk space full

I recommend NFS over iSCSI, as it's much more flexible. Can be done without an initrd. See https://www.raspberrypi.org/forums/view ... 9&t=253314 for details.

Go to advanced search