From: Khaled B. A. <kha...@gm...> - 2008-10-03 13:25:00
|
Hi every body! I am working on a set top box reference design based on the chip st7109 and I use STLinux 2.2. I want to insert the framebuffer module (named stmfb_stb7100). For this I did like the official web site of STLinux indicates for me ( http://www.stlinux.com/docs/release-note-2.0ear/framebuffer.php). First I activates the kernel framebuffer options, rebuild it and then I built the framebuffer module and install them. All the necessary modules are inserted perfectly (cfbcopyarea.ko , cfbfillrect.ko, cfbimgblt.ko) but an error occurs during inserting the framebuffer module (stmfb_stb7100) : # insmod stmfb-stb7100.ko insmod: error inserting 'stmfb-stb7100.ko': -1 No such device same thing using modprobe : # modprobe stmfb-stb7100.ko FATAL: Module stmfb_stb7100.ko not found. any suggestion to overcome this problem? |
From: Tiago M. <tia...@gm...> - 2008-10-05 00:50:10
|
> Hi every body! > I am working on a set top box reference design based on the chip st7109 and I use STLinux 2.2. > I want to insert the framebuffer module (named stmfb_stb7100). For this I did like the official web site of STLinux indicates for me (http://www.stlinux.com/docs/release-note-2.0ear/framebuffer.php). First I activates the kernel framebuffer options, rebuild it and then I built the framebuffer module and install them. > All the necessary modules are inserted perfectly (cfbcopyarea.ko , cfbfillrect.ko, cfbimgblt.ko) but an error occurs during inserting the framebuffer module (stmfb_stb7100) : > > > # insmod stmfb-stb7100.ko > insmod: error inserting 'stmfb-stb7100.ko': -1 No such device > > > same thing using modprobe : > > # modprobe stmfb-stb7100.ko > FATAL: Module stmfb_stb7100.ko not found. > any suggestion to overcome this problem? Hi, If you post your doubt on ST Bugzilla database on https://bugzilla.stlinux.com/ you can get better support and search for similar problems. BTW, this error comes because you don't have /dev/fbv device. I never used 2.0 version of STLinux, but if version 2.2 I need to insert another module called stmcore-display-stxXXXX.ko. I suggest you update do a newer version and try these new modules. ftp://ftp.stlinux.com/pub/stlinux/2.3/updates/RPMS/host/stlinux23-host-stmfb-source-3.0_stm23_0018-33.noarch.rpm Best regards, Tiago Maluta |
From: Khaled B. A. <kha...@gm...> - 2008-10-07 09:28:48
|
> > > > BTW, this error comes because you don't have /dev/fbv device. > I try to identify the framebuffer node and I found the fbX devices in /dev/ : #ls -l /dev/ (...) crwxrwxrwx 1 root root 29, 0 Apr 5 2008 fb0 crw-r----- 1 root root 29, 1 Apr 5 2008 fb1 crw-r----- 1 root root 29, 2 Apr 5 2008 fb2 crw-r----- 1 root root 29, 3 Apr 5 2008 fb3 crw-r----- 1 root root 29, 4 Apr 5 2008 fb4 crw-r----- 1 root root 29, 5 Apr 5 2008 fb5 crw-r----- 1 root root 29, 6 Apr 5 2008 fb6 crw-r----- 1 root root 29, 7 Apr 5 2008 fb7 (...) then I try to cat all these devices and the result is the same as the following # cat /dev/fb0 cat: /dev/fb0: No such device # cat /dev/fb1 cat: /dev/fb1: No such device .............. # cat /dev/fb7 cat: /dev/fb7: No such device I also tried to use fbset : # fbset -s fbset: /dev/fb0: No such device I don't know if I must recreate them ? and if this is what caused "insmod stmfb_stb7100.ko " to crash? -- amicalement khaled |
From: Ramesh R. <Ram...@st...> - 2008-10-07 09:36:07
|
Hi, What is your filesystem type JFFS, NFS or ? Regards, Ramesh ________________________________ From: Khaled Ben Amor [mailto:kha...@gm...] Sent: Tuesday, October 07, 2008 2:47 PM To: lin...@li... Subject: Re: error while inserting stgfb module BTW, this error comes because you don't have /dev/fbv device. I try to identify the framebuffer node and I found the fbX devices in /dev/ : #ls -l /dev/ (...) crwxrwxrwx 1 root root 29, 0 Apr 5 2008 fb0 crw-r----- 1 root root 29, 1 Apr 5 2008 fb1 crw-r----- 1 root root 29, 2 Apr 5 2008 fb2 crw-r----- 1 root root 29, 3 Apr 5 2008 fb3 crw-r----- 1 root root 29, 4 Apr 5 2008 fb4 crw-r----- 1 root root 29, 5 Apr 5 2008 fb5 crw-r----- 1 root root 29, 6 Apr 5 2008 fb6 crw-r----- 1 root root 29, 7 Apr 5 2008 fb7 (...) then I try to cat all these devices and the result is the same as the following # cat /dev/fb0 cat: /dev/fb0: No such device # cat /dev/fb1 cat: /dev/fb1: No such device .............. # cat /dev/fb7 cat: /dev/fb7: No such device I also tried to use fbset : # fbset -s fbset: /dev/fb0: No such device I don't know if I must recreate them ? and if this is what caused "insmod stmfb_stb7100.ko " to crash? -- amicalement khaled |
From: Khaled B. A. <kha...@gm...> - 2008-10-07 10:05:50
|
I boot STLinux kernell using NFS. Has the root filesystem an influence on the framebuffer module? 2008/10/7 Ramesh Ramaswamy <Ram...@st...> > Hi, > > > > What is your filesystem type JFFS, NFS or ? > > > > Regards, > > > > Ramesh > > > ------------------------------ > > *From:* Khaled Ben Amor [mailto:kha...@gm...] > *Sent:* Tuesday, October 07, 2008 2:47 PM > *To:* lin...@li... > *Subject:* Re: error while inserting stgfb module > > > > > > > > > BTW, this error comes because you don't have /dev/fbv device. > > > > I try to identify the framebuffer node and I found the fbX devices in /dev/ > : > > #ls -l /dev/ > (...) > crwxrwxrwx 1 root root 29, 0 Apr 5 2008 fb0 > > crw-r----- 1 root root 29, 1 Apr 5 2008 fb1 > crw-r----- 1 root root 29, 2 Apr 5 2008 fb2 > crw-r----- 1 root root 29, 3 Apr 5 2008 fb3 > crw-r----- 1 root root 29, 4 Apr 5 2008 fb4 > crw-r----- 1 root root 29, 5 Apr 5 2008 fb5 > crw-r----- 1 root root 29, 6 Apr 5 2008 fb6 > crw-r----- 1 root root 29, 7 Apr 5 2008 fb7 > (...) > > then I try to cat all these devices and the result is the same as the > following > # cat /dev/fb0 > cat: /dev/fb0: No such device > > # cat /dev/fb1 > cat: /dev/fb1: No such device > .............. > > > # cat /dev/fb7 > cat: /dev/fb7: No such device > > > I also tried to use fbset : > > # fbset -s > fbset: /dev/fb0: No such device > > I don't know if I must recreate them ? and if this is what caused "insmod > stmfb_stb7100.ko " to crash? > -- > amicalement > khaled > > > -- amicalement khaled |
From: Ramesh R. <Ram...@st...> - 2008-10-07 10:18:26
|
Yes! All device entries are treated as a file in Linux. Send me your .config file. Regards, Ramesh ________________________________ From: Khaled Ben Amor [mailto:kha...@gm...] Sent: Tuesday, October 07, 2008 3:31 PM To: Ramesh Ramaswamy Cc: lin...@li... Subject: Re: error while inserting stgfb module I boot STLinux kernell using NFS. Has the root filesystem an influence on the framebuffer module? 2008/10/7 Ramesh Ramaswamy <Ram...@st...> Hi, What is your filesystem type JFFS, NFS or ? Regards, Ramesh ________________________________ From: Khaled Ben Amor [mailto:kha...@gm...] Sent: Tuesday, October 07, 2008 2:47 PM To: lin...@li... Subject: Re: error while inserting stgfb module BTW, this error comes because you don't have /dev/fbv device. I try to identify the framebuffer node and I found the fbX devices in /dev/ : #ls -l /dev/ (...) crwxrwxrwx 1 root root 29, 0 Apr 5 2008 fb0 crw-r----- 1 root root 29, 1 Apr 5 2008 fb1 crw-r----- 1 root root 29, 2 Apr 5 2008 fb2 crw-r----- 1 root root 29, 3 Apr 5 2008 fb3 crw-r----- 1 root root 29, 4 Apr 5 2008 fb4 crw-r----- 1 root root 29, 5 Apr 5 2008 fb5 crw-r----- 1 root root 29, 6 Apr 5 2008 fb6 crw-r----- 1 root root 29, 7 Apr 5 2008 fb7 (...) then I try to cat all these devices and the result is the same as the following # cat /dev/fb0 cat: /dev/fb0: No such device # cat /dev/fb1 cat: /dev/fb1: No such device .............. # cat /dev/fb7 cat: /dev/fb7: No such device I also tried to use fbset : # fbset -s fbset: /dev/fb0: No such device I don't know if I must recreate them ? and if this is what caused "insmod stmfb_stb7100.ko " to crash? -- amicalement khaled -- amicalement khaled |