Re: [PATCH]: Add support for Apple Power Mac
Hi, Adrian,
On Sun, 17 May 2020 at 11:33, John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> wrote:
>
> Any chance someone could have a look at this?
>
I tried to run ofpathname as-is, and it seems to work, apart from that
I/O error with find…? I haven't tested your patches, but here's the
output I'm getting (lsblk for context), when compared to my
boot-device entry on the NVRAM…
rui@mcnugget:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 74,5G 0 disk
├─sda1 8:1 0 31,5K 0 part
├─sda2 8:2 0 30,5M 0 part /boot/grub
├─sda3 8:3 0 122,1M 0 part /boot
├─sda4 8:4 0 7,5G 0 part /
├─sda5 8:5 0 67G 0 part /home
└─sda6 8:6 0 24,5K 0 part
sr0 11:0 1 1024M 0 rom
zram0 254:0 0 1,2G 0 disk [SWAP]
rui@mcnugget:~$ sudo nvram --print-config | grep boot-device
boot-device=/pci@f4000000/ata-6@d/@0:2,\grub
rui@mcnugget:~$ sudo ofpathname /dev/sda2
/usr/bin/find: ‘/sys/firmware/devicetree/base/uni-n@f8000000/i2c@f8001000/i2c-bus@1/fan@5c’:
Input/output error
/pci@f4000000/ata-6@d/@0:2
rui@mcnugget:~$
… and the returned Open Firmware path looks correct. Am I missing
something obvious?
Cheers,
Rui
Reply to: