フェドラ:win32のコーデックのインストール

2011/11/03 1:13 に Johan Burati が投稿   [ 2011/11/03 1:15 に更新しました ]


cd /tmp
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
tar -jxvf all-20110131.tar.bz2
su -c 'mkdir -p /usr/local/lib/codecs'
su -c 'cp all-20110131/* /usr/local/lib/codecs'
su -c 'ln -sf /usr/local/lib/codecs /usr/lib/codecs && ln -sf /usr/local/lib/codecs /usr/local/lib/win32 && ln -sf /usr/local/lib/codecs /usr/lib/win32'
rm -rf /tmp/all-20110131*

Realtek RTL8111/8168

2010/08/10 17:50 に Johan Burati が投稿   [ 2010/08/11 20:03 に更新しました ]

I have a Asus M4A785D-M PRO MB with a on-board Realtek RTL8111/8168B NIC.
Unfortunately, the r8169 module shipped with the kernel does not work with that card.

To make it works you need to install the r8168 module and blacklist the r8169 module.

To blacklist the r8169 module, add the following line at the end of your /etc/modprobe.d/blacklist.conf file:
blacklist r8169

I made a package of the latest version (8.018.00) of the r8168 module,
you can downloading from the link below and install it like this:
$ sudo rpm -ihv dkms-r8168-8.018.00-1.noarch.rpm

This package use dkms, it's easier to manage and upgrade kernel modules with it,
after installing the rpm you can check if the module is there, then load it:
$ dkms status
r8168, 8.018.00-1, 2.6.33.6-147.2.4.fc13.x86_64, x86_64: installed
r8168, 8.018.00-1, 2.6.32.11-99.fc12.x86_64, x86_64: installed


if the module is not loaded, load it and restart the network service:
$ sudo modprobe r8168
$ sudo service network restart

There's also the src.rpm in attachment and you can check my rpm github repo for the spec file and the patches.

Upgrade u-boot on the SheevaPlug

2010/04/25 0:30 に Johan Burati が投稿   [ 2010/12/30 0:45 に更新しました ]

Introduction

I recently got my hands on a sheevaplug (SKU# RD-88F6281-BPLUG-A) thanks to my colleague Bill.

The sheevaplug is a small form factor computer sporting Marvell Feroceon ARM-based CPU,
this post describe how to upgrade u-boot, u-boot is the boot loader used by the sheevaplug.

Connect to the sheeva plug console


To connected to the sheevaplug console, plug in the sheevaplug USB cable to your workstation,
the sheevaplug console device (/dev/ttyUSB0) should show up, if not check that you have the usbserial and ftdi_sio modules loaded,
change the permission on the device and connect to it using GNU screen:

$ sudo chmod 0666 /dev/ttyUSB0
$ screen /dev/ttyUSB0 115200

Press Enter a couple of times, you should see the following prompt:
Marvell>>

Check the current u-boot version


Before starting the upgrade procedure connect to your sheevaplug console and check the current version,
who knows you might not need to upgrade:
Marvell>> version

U-Boot 1.1.4 (Mar 19 2009 - 16:06:59) Marvell version: 3.4.16

Apparently we are not running the latest u-boot version here, so let's proceed with the upgrade,
there are two methods, one is to use a tftp server, the second one is to use a USB stick.

First method: tftp server

first, setup a tftp server (here on a fedora box) then download the latest u-boot (u-boot 3.4.5 + pingtoo patch 01)
and save it as /var/lib/tftpboot/uboot.bin:

$ sudo yum install -y tftp-server
$ sudo sed -i '/disable/ s/yes/no/g' /etc/xinetd.d/tftp
$ sudo service xinetd start

Once your tftp server is setup connect the sheevaplug to your LAN and plug its USB console to your workstation,
then issue the commands below (set the serverip and ipaddr according to your LAN setup):

$ sudo chmod 0666 /dev/ttyUSB0
$ screen /dev/ttyUSB0 115200

Marvell>> version


U-Boot 1.1.4 (Mar 19 2009 - 16:06:59) Marvell version: 3.4.16
Marvell>> setenv serverip 192.168.1.100
Marvell>> setenv ipaddr 192.168.1.200
Marvell>> bubt uboot.bin
Using egiga0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.200
Filename 'uboot.bin'.
Load address: 0x2000000
Loading: #################################################################
         ############################
done
Bytes transferred = 474592 (73de0 hex)

**Warning**
If U-Boot Endiannes is going to change (LE->BE or BE->LE), Then Env parameters should be overriden..
Override Env parameters? (y/n) n
Erase 0 - 655360 ...
Copy to Nand Flash...
done
Marvell>> reset

Second method: USB stick

To upgrade it using a USB stick, copy the uboot.bin on a FAT32 formatted USB stick and
issue the following commands from the sheevaplug console:
Marvell>> usb start
Marvell>> fatload usb 0:1 0x0800000 uboot.bin
Marvell>> nand erase 0x0 0xa0000
Marvell>> nand write 0x0800000 0x0 0xa0000
Marvell>> reset

Conclusion


After the sheevaplug has rebooted, you should have the new version:
Marvell>> version

U-Boot 1.1.4 (Dec 27 2009 - 22:03:21) Marvell version: 3.4.27 - pingtoo patch.01

NOTE: For those of you who prefer bash to php, I wrote a bash script to replace the runme.php script included in the tarball, you can get it there.

1-3 of 3

ナビゲーション