LSPRODUO

VERSIONS

REBUILD KERNEL

cd /home/local/src/linux/linux/
export ARCH=arm 
export CROSS_COMPILE=arm-linux-gnueabi-  
export KBUILD_DEBARCH=armel 
export KALLSYMS_EXTRA_PASS=1 
cp  arch/arm/configs/lsproduo_defconfig .config
time make menuconfig savedefconfig deb-pkg
cat /proc/version
Linux version 3.2.57lsproduo-00031-gfd33ad9 (rzr@lap.lan.rzr.cloudns.org) (gcc version 4.4.6 (Debian 4.4.6-14) ) #8 PREEMPT Wed Aug 6 13:25:49 CEST 2014

UPGRADE KERNEL

Install debs from target and rename files to uImage.buffalo and initrd.buffalo :

sudo dpkg -i *.deb

mount

/dev/sda1 on /boot type ext2 (rw,relatime,errors=continue)

md5sum /boot/* 


6f5ee5ac08397d55b3982ff41d6c1e1f  /boot/uImage.buffalo
bcf18a81dae78b8a0758c904c0934ffa  /boot/vmlinuz-3.1.1lsproduo-00009-g4d27e1c
63861cca87d1b1b31124787eee2284a8  /boot/vmlinuz-3.2.41lsproduo-00019-g6e228b8
6f5ee5ac08397d55b3982ff41d6c1e1f  /boot/vmlinuz-3.2.41lsproduo-00019-g6e228b8.buffalo

e7c170a09d0fffad59e4f05dfb908b8d  /boot/initrd.buffalo
1350685100ab84834dd5dc855e902c53  /boot/initrd.img-3.1.1lsproduo-00009-g4d27e1c
7fadb4fe60da0bbafdf3aee82369c771  /boot/initrd.img-3.2.41lsproduo-00019-g6e228b8
e7c170a09d0fffad59e4f05dfb908b8d  /boot/initrd.img-3.2.41lsproduo-00019-g6e228b8.buffalo


2a491daa083d2a2629f002043bcff6e2  /boot/config-3.1.1lsproduo-00009-g4d27e1c
0af1736e09ddf647100a49fd1021691f  /boot/config-3.2.41lsproduo-00019-g6e228b8

4ed7bc93b99b520b4a4454d9ce704f1d  /boot/System.map-3.1.1lsproduo-00009-g4d27e1c
a0c4bd239a2b5072bbf769c536f2364f  /boot/System.map-3.2.41lsproduo-00019-g6e228b8

then reboot

cat /proc/version

Linux version 3.2.41lsproduo-00019-g6e228b8 (root@lap) (gcc version 4.4.5 (Debian 4.4.5-8) ) #7 PREEMPT Sun Apr 21 02:18:18 CEST 2013

OBSOLETE KERNEL

wget -p http://rzr.online.fr/debian/linux-image-3.1.1lsproduo-00009-g4d27e1c_3.1.1lsproduo-00009-g4d27e1c-1_armel.deb

It miss IPTables

iptables=iptables
$iptables -t filter -A INPUT -i eth0  -s 212.27.38.253 -j ACCEPT
FATAL: Module ip_tables not found.
iptables v1.4.12.2: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

sudo modprobe -v iptables
#| FATAL: Module iptables not found.

sudo modprobe -v netfilter
#| FATAL: Module netfilter not found.

TODO

Push Patch UpStream :

Explain patch :

MACHINE_START
// Each board is defined by a machine structure
// http://lxr.free-electrons.com/source/arch/arm/include/asm/mach/arch.h


#ifdef CONFIG_MACH_LINKSTATION_PRODUO_REV2
MACHINE_START(LINKSTATION_PRODUO, "Buffalo Linkstation Pro Duo - Revision 2")

http://www.arm.linux.org.uk/developer/machines/download.php
// linkstation_produo	MACH_LINKSTATION_PRODUO	LINKSTATION_PRODUO	1831


.init_machine   = lsproduo_init,
// Called by customize_machines() in  arch/arm/kernel/setup.c

HardWare:

More :

buffalo.nas-central.org_w_images_7_7c_lspro_duo_pcb_front_comments.jpg

misc

# else later error 
sudo dpkg-divert \
   --package linux-firmware-image  \
   --divert /lib/firmware/keyspan_pda/image-xircom_pgs.fw \
    /lib/firmware/keyspan_pda/linux-firmware-xircom_pgs.fw
  
apt-get install linux-firmware-image

Then it should be safe (or in the other way?) for 

dpkg -i ~rzr/public_html/debian/linux-*3.2.41*.deb


# else later error is :

(Reading database ... 123618 files and directories currently installed.)
Unpacking linux-firmware-image (from .../linux-firmware-image_3.2.41lsproduo-00019-g6e228b8-7_armel.deb) ...
dpkg: error processing /home/rzr/public_html/debian/linux-firmware-image_3.2.41lsproduo-00019-g6e228b8-7_armel.deb (--install):
 trying to overwrite '/lib/firmware/keyspan_pda/xircom_pgs.fw', which is also in package firmware-linux-free 3.2

http://www.debian-administration.org/articles/118
Linux version 3.2.41lsproduo-00011-gda8cb6c-svn-dirty (rzr@lap) (gcc version 4.4.5 (Debian 4.4.5-8) ) #23 PREEMPT Sat Apr 20 14 CEST 2013

DEVICE TREE

MISC

MORE

orion5x.txt · Last modified: 2015/11/01 20:17 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki