Hi! We're discussing a clarification of the content license; please look over to Current events if you're interested in editing.

H5000

From Htc-linux

Jump to: navigation, search

[edit] Building the Kernel for h5000

Note: This needs more detail, but here's start.

Get the source from handhelds.org CVS

Get a cross toolchain (e.g. codesourcery gcc 4.1)

Set PATH to include the new toolchain

make h5000_static_defconfig

make menuconfig

Enable USB Host (CONFIG_USB_OHCI_HCD)

Enable h5000 Wifi (CONFIG_IPAQ_H5400_WIFI)

cp .config config_wifi_ohci

Comment out a couple lines in h5400.h

RCS file: /cvs/linux/kernel26/include/asm-arm/arch-pxa/h5400.h,v
retrieving revision 1.4
diff -r1.4 h5400.h
6,7c6,7
< extern void (*h5400_btuart_configure)(int state);
< extern void (*h5400_hwuart_configure)(int state);
---
> //extern void h5400_btuart_configure(int state);
> //extern void h5400_hwuart_configure(int state);


Add a line to sumversion.c

RCS file: /cvs/linux/kernel26/scripts/mod/sumversion.c,v
retrieving revision 1.7
diff -r1.7 sumversion.c
10a11
> #include <limits.h>

make CROSS_COMPILE=arm-none-eabi-

cp arch/arm/boot/zImage /path/to/your/sdcard_vfat/

INSTALL_MOD_PATH=/path/to/your/rootfs/ make modules_install


h5000 Development History Highlights

Personal tools