Skip to content

zytek/mmnet1000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

mmnet1000

Patches for Propox MMNET1000 AT91 board

Structure

  • 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.

What works

  • 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

Quick guide

One way of upgraiding mmnet1000 to OpenWRT 12.09 with some decent kernel

  1. 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.
  2. Build the kernel (change paths)
  3. cd linux-3.4.46
  4. patch -p1 -i ../kernel_X.Y.X_mmnet1000.patch
  5. cp ../kernel_X.Y.Z_mmnet1000.config .config
  6. export STAGING_DIR=~/openwrt/attitude_adjustment/staging_dir
  7. export PATH=~/openwrt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/bin:$PATH
  8. make ARCH=arm CROSS_COMPILE=arm-openwrt-linux- menuconfig
  9. make ARCH=arm CROSS_COMPILE=arm-openwrt-linux- uImage
  10. Copy uImage to your tftp directory
  11. 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.

FAQ

  1. 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.

Info

Work based on patches sent by Przemysław Rudy to openwrt mailing list, which themselve origin from Propox patches for 2.6.

Usefuk inks

Bitdeli Badge

About

Patches for Propox MMNET1000 AT91 board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published