Looking forward to successfully following your how to! Will report how it goes. Unfortunately, it will be next week before I can work on this project again. Thank you for this great guide and everything you do for the hobby!
 
Reactions: fred555
Look forward to getting started on this. Thanks a lot Lee!!!
 
I try and give back where I can. I've been given so much help and hardware over the years I still have a huge debit to pay back

If you guys get stuck just let me know and I'll update the HOWTO as we go so it'll help others too.

UDL
 
Arrgh!! I downloaded everything needed to a usb stick and left it at work yesterday.
Really wanted to get this going this weekend. I wont be starting on this until next week i guess.
 
Setting up Ubuntu Mate without Linux Box wCard Reader

OK, my work phone is 4G and downloaded all the packages in about 10 minutes.
None of my Linux boxes have a card reader to accomplish setting up Ubuntu as shown above.
All my Windows laptops have built in SD.
Here is how I did it:

Use 7zip to extract the ubuntu mate image on a Windows machine.
Use Win32diskimager to write the disk to SD as usual.
Boot the Ubuntu image and go through the setup routine.

I set the password for the root user
apt-get install openssh-server
then added this to /etc/ssh/sshd_config:
#PermitRootLogin without-password
PermitRootLogin yes

rebooted, then ssh into the Pi from the Easy Chair in other room, as I have to stand to use Pi where the TV is.
Used these instructions to resize partition in place on Pi:

Code:
Manually resizing the SD card on Raspberry Pi

You can also resize the partitions of the SD card that your Pi is running on.

First you need to change the partition table with fdisk. You need to remove the existing partition entries and then create a single new partition than takes the whole free space of the disk. This will only change the partition table, not the partitions data on disk. The start of the new partition needs to be aligned with the old partition!

Start fdisk:

fdisk /dev/mmcblk0

Then delete partitions with d and create a new with n. You can view the existing table with p.

    p to see the current start of the main partition
    d, 2 to delete the main partition
    n p 2 to create a new primary partition, next you need to enter the start of the old main partition and then the size (enter for complete SD card). The main partition on the Debian image from 2012-04-19 starts at 157696, but the start of your partition might be different. Check the p output!
    w write the new partition table

Now you need to reboot:

shutdown -r now

After the reboot you need to resize the filesystem on the partition. The resize2fs command will resize your filesystem to the new size from the changed partition table.

resize2fs /dev/mmcblk0p2

This will take a few minutes, depending on the size and speed of your SD card.

When it is done, you can check the new size with:

df -h
 
Last edited:
Reactions: KE4EST
Also DHCP did not work, I had to setup a static IP:

nano /etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.25
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 192.168.0.1
 
Just got Ubuntu Mate image downloaded, a lot going on today so don't know how much I will get done.
 
KE4EST,
I'm starting to get the shakes and PTSD in anticipation of compiling a kernel again.
Tell me things will be OK.
 
Reactions: spongella
You can do it.
 
Just don't forget -j4 when compiling.
 
Reactions: updatelee
This stuff is way over my head, but I was wondering, is there any way that one can program the receiver to lower the receiver's signal threshold level? This might help when receiving a weak FTA signal. At least you might be able to receive a pixilated signal, and work from there to improve it.

All interesting stuff you fellows/ladies are working on. Wish you the best of luck in your endeavors.
 
Honestly with stv090x devices the hardware lock is over optimistic, It'll say lock but the ber is so bad its not even watchable. I cant imagine why you'd want to set it any lower.

UDL
 
make -j4
Then after about an hour:
Makefile:933: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
 
Trying it again, I hope it all fits on my 8GB SD card, its gonna be close!
 
Success!

This time I used the Raspberry Pi 2 default build configuration
make bcm2709_defconfig
then
make -j4
 
root@UB1:~# uname -r
4.0.4-v7

getting there.
 
In this section I'm not sure what the current directory should be exactly:

Code:
# Download v4l-updatelee from https://bitbucket.org/updatelee/v4l-updatelee/downloads and unzip the download
# Now create the patch

cd linux
tar xf linux-media.tar.bz2
cd ../../
diff -ruP media_build/linux/include/uapi/linux/dvb/ updatelee-v4l-updatelee-402bf4f7412b/include/uapi/linux/dvb/ >> UDL_patch.diff
diff -ruP media_build/linux/drivers/media/ updatelee-v4l-updatelee-402bf4f7412b/drivers/media/ >> UDL_patch.diff
cd media_build
mv ../UDL_patch.diff backports/
nano -w backports/backports.txt

# Now change this
[9.255.255]
add api_version.patch
add pr_fmt.patch
add debug.patch
add drx39xxj.patch

# to this
[9.255.255]
add api_version.patch
add pr_fmt.patch
add debug.patch
add drx39xxj.patch
add UDL_patch.diff

# Compile and install dvb modules
./build
sudo make install
sudo cp -R linux/include/uapi/linux/dvb/* /usr/include/linux/dvb/
cd ..
sudo cp -R updatelee-v4l-updatelee-402bf4f7412b/src/updatelee-v4l-updatelee-402bf4f7412b/firmware/* /lib/firmware/

# There is a bug in one of the qwt headers installed from apt-get, so lets fix that
wget http://svn.code.sf.net/p/qwt/code/branches/qwt-6.1/src/qwt_transform.h
sudo cp qwt_transform.h /usr/include/qwt/qwt_transform.h

# Download updateDVB from https://bitbucket.org/updatelee/updatedvb/downloads

# open qtcreator
qtcreator -noload Welcome

# open updateDVB.pro
# click green triange (run) on the lower left

Can you provide fully qualified directory paths for each step? Something is not working out for me in this section.

EDIT: We have it figured out and will post the corrections when we are finished.
 
Last edited:
Well I ran into the same thing as Fred. Comping again now should be about done.
 
This time I used the Raspberry Pi 2 default build configuration
make bcm2709_defconfig
then
make -j4

This also worked for KE4EST
 
Status
Please reply by conversation.

Similar threads