Patches for Propox MMNET1000 AT91 board
- kernel/ - patches for different vanilla kernels with board definition and sample config file.
Note: kernel config is not perfectly suited to mmnet1000 board and may seem a little bit bloated. Please send patches if you make smaller one.
- kernel 3.4.46
- USB host port
- USB slave port
- MMC card slot
- network card
- RTC/hwclock - works fine even when garbage is in ROM due too battery failure
- GPIO - ports are renumbered, you have to substract 32 from port number so GPIO 38 becomes 6 etc
- I2C - not tested
One way of upgraiding mmnet1000 to OpenWRT 12.09 with some decent kernel
- Download and build OpenWRT for AT91 SAM9260 board. This will give you ARM toolchain needed to build the kernel. You can use Propox sample config. Build and flash UBI image - original docs will tell you how.
- Build the kernel (change paths)
cd linux-3.4.46
patch -p1 -i ../kernel_X.Y.X_mmnet1000.patch
cp ../kernel_X.Y.Z_mmnet1000.config .config
export STAGING_DIR=~/openwrt/attitude_adjustment/staging_dir
export PATH=~/openwrt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/bin:$PATH
make ARCH=arm CROSS_COMPILE=arm-openwrt-linux- menuconfig
make ARCH=arm CROSS_COMPILE=arm-openwrt-linux- uImage
- Copy uImage to your tftp directory
- Test it. Go into u-boot and boot it over the network.
tftp 0x22000000 uImage
bootm 0x22000000
Note: I am using original u-boot 2009 with machine id 2329 (0x919) and it works.
- Q: Why not using openwrt's default 3.3.8 kernel?
- A: because I was frustraded by openwrt's way of kernel configuration and module handling. Building kernel on my own and adding modules to openwrt rootfs seemed easier.
Work based on patches sent by Przemysław Rudy to openwrt mailing list, which themselve origin from Propox patches for 2.6.
Usefuk inks