Re: I ported the panfrost driver on FreeBSD 15.0 for my radxa zero 3W board,BUT....
Mark Millard <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
On Nov 12, 2025, at 23:44, Mario Marietto <[email protected]> wrote: > mountroot> ? > > List of GEOM managed disk devices : > > Nothing > > DMESG : > > 1) https://pastebin.com/JkuZd9aS (don't know why it chosen to load the file kernel-covacat) > > 2) I have deleted the kernel called "kernel-covacat" from /boot/kernel to force it to grab the file "kernel",but then it says that it can't find it : https://pastebin.com/1niPssKh That https://pastebin.com/1niPssKh shows: . . . • Setting currdev to disk0p4: • Loading /boot/defaults/loader.conf • /boot/kernel/kernel text=0x318 text=0xa62b58 text=0x281520 data=0x16b460 data=0x • 0+0x2c3000 0x8+0x160950+0x8+0x189eff\ • /etc/hostid size=0x25 • /boot/entropy size=0x1000 . . . • /boot/modules/ums.ko text=0x26c3 text=0x252c data=0x7a0+0x4 0x8+0x1110+0x8+0xbce • • loading required module 'kernel' • can't find 'kernel' . . . The first part is the FreeBSD kernel loading. I've no clue what would lead to the later: loading required module 'kernel' since the FreeBSD kernel had already been loaded and I do not see any sort of unload notice for that prior load. Side note: the screen images would not allow discovering the above. This pastebin, with its much longer hsitory coverage, is much more useful overall. > Tried to play with the linker.hints file : > > > > marietto# mount -t ufs /dev/da6p4 /mnt/da6p4 > marietto# cd /mnt/da6p4/boot/kernel > marietto# mv linker.hints linker_.hints > marietto# kldxref /mnt/da6p4/boot/kernel > marietto# cd / > marietto# umount /dev/da6p4 > > loading required module 'kernel' > module 'kernel' exists but with wrong version > ?c > > mountroot: waiting for device /dev/gpt/root > mounting from ufs:/dev/gpt/root failed with error 19 > mountroot> ? > > List of GEOM managed disk devices : > > NOTHING. > > > On Tue, Nov 11, 2025 at 5:49 PM Andrew Turner <[email protected]> wrote: > On 2025-11-02 16:13, Mario Marietto wrote: > > Hello to everyone. > > > > I ported the panfrost driver on FreeBSD 15.0 for my radxa zero 3W > > board. I mean,I've been able to fix all the errors I found and I > > compiled correctly the kernel and the modules. Unfortunately,when I > > tried to boot it,this is what happened : > > > > It is stuck there. My sensation is that the problem can be fixed > > easily. But I need to understand why. What could be the reason,what to > > try and so on. > > > > Anyway,I want to share the source code of the kernel ,the compiled > > kernel and the modules,if someone wants to study the code and try on > > his board : > > > > https://drive.google.com/file/d/1yn--aq1QxgIOY23eIF8Crdadv9sWkFCR/view?usp=drive_link > > Can you post this as a git repo? The tarball of sys seems to be > inconsistent with any FreeBSD branch which makes it difficult to see > what you've added/changed. === Mark Millard marklmi at yahoo.com