[SOLVED] no /dev/vchiq

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

[SOLVED] no /dev/vchiq

Postby puk » Fri Dec 30, 2016 2:40 am

Hi,may be fiddling too much with boot.cmd (to boot from external hdd) destroyed my BananaPi-ArchLinux. but may be this doesn't work in general... There isn't any /dev/vchiq device on my BananaPi? Which package or kernel-module does provide that device?

Here is the boot.cmd i'm using:
$this->bbcode_second_pass_code('', 'part uuid mmc 0:1 uuid
setenv bootargs console=ttyS0,115200 console=tty0 console=tty1 root=/dev/sda1 rw rootfstype=ext4 elevator=deadline rootwait

if load mmc 0:0 ${kernel_addr_r} /boot/zImage; then
if load mmc 0:0 ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
if load mmc 0:0 ${ramdisk_addr_r} /boot/initramfs-linux.img; then
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
bootz ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi

if load mmc 0:0 0x48000000 /boot/uImage; then
if load mmc 0:0 0x43000000 /boot/script.bin; then
setenv bootm_boot_mode sec;
bootm 0x48000000;
fi;
fi')

Nice to be here and thank you for your information and help. I'm searching for days to solve the issue :(
Last edited by puk on Sun Jan 15, 2017 7:29 pm, edited 2 times in total.
puk
 
Posts: 4
Joined: Fri Dec 30, 2016 2:17 am

Re: no /dev/vchiq

Postby moonman » Fri Dec 30, 2016 5:51 am

Vchiq is specific to videocore on raspberry pi. Why would you need it anyway for booting?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: no /dev/vchiq

Postby puk » Fri Dec 30, 2016 11:51 am

kodi crashes while missing /dev/vchiq. and the bananapi uses the same Allwinner A20 CPU the Rasbpi ist build on. but to be honest, i have no deep understanding of the A20 Hardware and need new ideas to solve this issue. dmesg doesn't show a line containing vchiq so the device has no idea that it has to generate that device?!
thank you for your help.
puk
 
Posts: 4
Joined: Fri Dec 30, 2016 2:17 am

Re: no /dev/vchiq

Postby moonman » Fri Dec 30, 2016 2:17 pm

Raspberry Pi uses Broadcom BCM2835/6/7 and not allwinner. Completely different hardware.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: no /dev/vchiq

Postby puk » Fri Dec 30, 2016 5:51 pm

Ah damn, you're so right! happy to hear, that i'm just to stupid reading hardware specifications. typical osi layer 8 problem :lol:
puk
 
Posts: 4
Joined: Fri Dec 30, 2016 2:17 am

Re: no /dev/vchiq

Postby puk » Sun Jan 15, 2017 7:28 pm

Banana Pi uses Mali GPU and thow needs mali kernel module loaded. it isn't included in the default kernel for armv7!
And no (modern) linux kernel for Banana is provided. Problem is solved i think! Thanks for the friendly help.
puk
 
Posts: 4
Joined: Fri Dec 30, 2016 2:17 am

Re: [SOLVED] no /dev/vchiq

Postby moonman » Sun Jan 15, 2017 9:23 pm

We don't officially support BananaPi so you won't find any specific to BananaPi bits and pieces in our repo.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 7 guests