View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon May 29, 2006 12:59 pm 
Offline
Joined: Sun Mar 21, 2004 10:01 am
Posts: 77
Hi,

I was finally brave enough to upgrade my long standing R4V5 system to R5C7 over the weekend. I had a few problems but they were sorted out quickly and easily and the system runs like a champ. I did notice that if I used the bootsplash on my system with the PVR350 TV out, X would not start and the load up of the front end would fail. Of course the developers did warn during the install that the bootsplash uses the Frame buffer but I was curious to see if it would work on the PVR350.

While I was reading over at Jarod's site ( The guy who put together Fedora Core Mythtv guide) he has in his directions a patch to patch the mkinitrd file and rebuild the ram disk. This is so that during boot up the ivtv drivers will load early enough allowing you to see the system onscreen from the PVR350 TV out as the system boots and not just when the front end loads.

I would like to see if it would be possible to do the same for the Knoppmyth install, that way I can see what's going on during boot.

Can this be accomplished? the code in Jarod's guide for the mkinitrd patch is below, when I tried to modify it to try and match the Knoppmyth install I still recieved errors during the patch:

**********************Start Patch File**************************
--- /sbin/mkinitrd 2004-10-24 14:59:42.000000000 -0700
+++ /sbin/mkinitrd-ivtv 2005-02-19 22:10:41.351615000 -0800
@@ -57,9 +57,9 @@
echo "usage: `basename $0` [--version] [-v] [-f] [--preload <module>]" >&2
echo " [--omit-scsi-modules] [--omit-raid-modules] [--omit-lvm-modules]" >&2
echo " [--with=<module>] [--image-version] [--fstab=<fstab>] [--nocompress]" >&2
- echo " [--builtin=<module>] [--nopivot] <initrd-image> <kernel-version>" >&2
- echo "" >&2
- echo " (ex: `basename $0` /boot/initrd-2.2.5-15.img 2.2.5-15)" >&2
+ echo " [--builtin=<module>] [--nopivot] [--ivtvdev] <initrd-image>" >&2
+ echo " <kernel-version>" >&2
+ echo " (ex: `basename $0` /boot/initrd-2.6.10-15.img 2.6.10-15)" >&2
exit 1
}

@@ -266,6 +266,9 @@
--allow-missing)
allowmissing=yes
;;
+ --ivtvdev)
+ USE_IVTVDEV=yes
+ ;;
*)
if [ -z "$target" ]; then
target=$1
@@ -564,6 +567,16 @@
rmdir $MNTPOINT/lost+found >/dev/null 2>&1
fi

+if [ -n "$USE_IVTVDEV" ]; then
+ findmodule tveeprom-ivtv
+ findmodule msp3400-ivtv
+ findmodule saa7115
+ findmodule tuner
+ findmodule saa7127
+ findmodule ivtv
+ findmodule ivtv-fb
+fi
+
mkdir -p $MNTIMAGE
mkdir -p $MNTIMAGE/lib
mkdir -p $MNTIMAGE/bin
@@ -575,6 +588,11 @@
mkdir -p $MNTIMAGE/sysroot
ln -s bin $MNTIMAGE/sbin

+if [ -n "$USE_IVTVDEV" ]; then
+ mkdir -p $MNTIMAGE/lib/modules
+ cp /lib/modules/ivtv-fw*.bin $MNTIMAGE/lib/modules/
+fi
+
inst /sbin/nash "$MNTIMAGE/bin/nash"
inst /sbin/insmod.static "$MNTIMAGE/bin/insmod"
ln -s /sbin/nash $MNTIMAGE/sbin/modprobe
************************end of patch file***********************


Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 29, 2006 1:13 pm 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
That sounds like a really neat idea. It could deffently help with trouble shooting a system hooked up to a TV that doesn't have a regular monitor. Sometimes knoppmyth takes a long time to startup, and it could look like a hang. But maybe the system is just running the disk error check? this modification would let the user see that is happening.

The bootsplash & pvr-350 tv-out problem is known and I think is being worked on for the next release. You can fix it by manually editing your XF86Config-4 file and changing fb0 to fb1.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 29, 2006 6:12 pm 
Offline
Joined: Sun Mar 21, 2004 10:01 am
Posts: 77
My PVR350 uses fb0...if I change it to fb1 will it stop working? As of now the bootsplash isn't really impoertant as by the time the ivtv drivers load up to display anything I will already be in the MythTV frontend.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 29, 2006 6:56 pm 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
dmcman73 wrote:
My PVR350 uses fb0...if I change it to fb1 will it stop working? As of now the bootsplash isn't really impoertant as by the time the ivtv drivers load up to display anything I will already be in the MythTV frontend.

If you enable bootsplash then fb0 will be used for that. When the ivtv drivers load fb0 will already be in use. So the pvr-350 will be assigned the next framebuffer device "fb1".

I agree there is not much point in enabling bootsplash with a system that uses only a pvr-350 for output.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 31, 2006 10:54 am 
Offline
Joined: Sun Mar 21, 2004 10:01 am
Posts: 77
So could loading the ivtv drivers into ram disk work for knoppmyth as it does for Fedora Core 4?

I'm not a linux expert and was just wondering if I can somehow modify the code I pasted in an earlier message to work with Knoppmyth.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 2:32 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Been on my todo for some time now.. Hope to get to it soon.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 7:19 am 
Offline
Joined: Sun Mar 21, 2004 10:01 am
Posts: 77
Thanks Cesman!

Hopefully the code from Jarod's site can help you out a bit that I posted earlier.

If and when you do get to it, will you post an anouncement, be part of a patch or go into a future release when it's complete?

Thanks again.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 10:53 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Future.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu