Date:2011-03-26 00:19:51 (8 years 3 months ago)
Author:Werner Almesberger
Commit:3b2b9166d9091636ca67d8b4115d6b4c0e4828ea
Message:mknnk, nnui: kernel build scripts

- mknnk: invoke "make" for making a NanoNote kernel
- nnui: make an uImage for the NanoNote
Files: bin/mknnk (1 diff)
bin/nnui (1 diff)

Change Details

bin/mknnk
1#!/bin/sh -e
2PATH=$PATH:../u-boot/tools
3make ARCH=mips CROSS_COMPILE=mipsel-openwrt-linux- "$@"
bin/nnui
1#!/bin/sh -ex
2PATH=$PATH:../u-boot/tools
3mknnk -j4 vmlinux.bin
4gzip -9 -f arch/mips/boot/vmlinux.bin
5mkimage -A mips -O linux -T kernel -a 0x80010000 \
6  -C gzip -e 0x`mipsel-openwrt-linux-nm vmlinux | \
7  grep " kernel_entry" | cut -f1 -d ' '` \
8  -n 'Ben NanoNote Linux Kernel' -d arch/mips/boot/vmlinux.bin.gz uImage

Archive Download the corresponding diff file

Branches:
master



interactive