First, I'd recommend using 3.4.3, as that's what we're using to compile.
Second, I accidentally checked in an incomplete patch in hx4700_core.c.
You can comment out the calls to mtd_pm_callback for the immediate solution.
I've just updated the default config, as well. Hope this helps.
-- Todd pHilipp Zabel wrote: >Hi! > >I still don't have a serial cable, so I tried to compile a kernel to >boot via haret. >I downloaded linux/kernel26 from cvs.handhelds.org and ran: > >export PATH=/usr/local/arm/3.4.1/bin:$PATH >make hx4700_defconfig >make > >This left me with a zImage, some modules and the following warnings: > >fs/jffs2/fs.c: In function `jffs2_flash_setup': >fs/jffs2/fs.c:671: warning: implicit declaration of function >`jffs2_dataflash_setup' >fs/jffs2/fs.c: In function `jffs2_flash_cleanup': >fs/jffs2/fs.c:692: warning: implicit declaration of function >`jffs2_dataflash_cleanup' >fs/jffs3/summary.c: In function `jffs3_sum_scan_sumnode': >fs/jffs3/summary.c:399: warning: ISO C90 forbids mixed declarations and code >fs/smbfs/proc.c: In function `smb_proc_setattr_unix': >fs/smbfs/proc.c:3110: warning: large integer implicitly truncated to >unsigned type >fs/smbfs/proc.c:3110: warning: large integer implicitly truncated to >unsigned type >fs/smbfs/proc.c:3111: warning: large integer implicitly truncated to >unsigned type >fs/smbfs/proc.c:3111: warning: large integer implicitly truncated to >unsigned type >fs/smbfs/proc.c:3112: warning: large integer implicitly truncated to >unsigned type >fs/smbfs/proc.c:3112: warning: large integer implicitly truncated to >unsigned type >fs/smbfs/proc.c:3113: warning: large integer implicitly truncated to >unsigned type >fs/smbfs/proc.c:3113: warning: large integer implicitly truncated to >unsigned type >fs/smbfs/proc.c:3114: warning: large integer implicitly truncated to >unsigned type >fs/smbfs/proc.c:3114: warning: large integer implicitly truncated to >unsigned type >drivers/char/keyboard.c:1007:2: warning: #warning "Cannot generate >rawmode keyboard for your architecture yet." >drivers/char/vt.c: In function `vc_allocate': >drivers/char/vt.c:747: warning: `pm_register' is deprecated (declared >at include/linux/pm.h:106) >drivers/input/mouse/navpoint.c:41: warning: 'navpoint_report_features' >defined but not used >drivers/mtd/mtdcore.c: In function `init_mtd': >drivers/mtd/mtdcore.c:393: warning: `pm_register' is deprecated >(declared at include/linux/pm.h:106) >drivers/mtd/mtdcore.c: In function `cleanup_mtd': >drivers/mtd/mtdcore.c:402: warning: `pm_unregister' is deprecated >(declared at include/linux/pm.h:111) >drivers/mtd/chips/cfi_cmdset_0001.c: In function `cfi_intelext_init': >drivers/mtd/chips/cfi_cmdset_0001.c:2310: warning: >`inter_module_register' is deprecated (declared at >include/linux/module.h:573) >drivers/mtd/chips/cfi_cmdset_0001.c:2311: warning: >`inter_module_register' is deprecated (declared at >include/linux/module.h:573) >drivers/mtd/chips/cfi_cmdset_0001.c: In function `cfi_intelext_exit': >drivers/mtd/chips/cfi_cmdset_0001.c:2317: warning: >`inter_module_unregister' is deprecated (declared at >include/linux/module.h:574) >drivers/mtd/chips/cfi_cmdset_0001.c:2318: warning: >`inter_module_unregister' is deprecated (declared at >include/linux/module.h:574) >drivers/mtd/chips/cfi_cmdset_0001.c: At top level: >drivers/mtd/chips/cfi_cmdset_0001.c:57: warning: >'cfi_intelext_read_fact_prot_reg' declared `static' but never defined >drivers/mtd/chips/cfi_cmdset_0001.c:58: warning: >'cfi_intelext_read_user_prot_reg' declared `static' but never defined >drivers/mtd/chips/cfi_cmdset_0001.c:59: warning: >'cfi_intelext_write_user_prot_reg' declared `static' but never defined >drivers/mtd/chips/cfi_cmdset_0001.c:60: warning: >'cfi_intelext_lock_user_prot_reg' declared `static' but never defined >drivers/mtd/chips/cfi_cmdset_0001.c:62: warning: >'cfi_intelext_get_fact_prot_info' declared `static' but never defined >drivers/mtd/chips/cfi_cmdset_0001.c:64: warning: >'cfi_intelext_get_user_prot_info' declared `static' but never defined >drivers/mtd/chips/gen_probe.c: In function `cfi_cmdset_unknown': >drivers/mtd/chips/gen_probe.c:210: warning: `inter_module_put' is >deprecated (declared at include/linux/module.h:578) >drivers/video/fbmem.c: In function `fb_blank': >drivers/video/fbmem.c:753: warning: unused variable `event' >sound/core/init.c: In function `snd_card_set_dev_pm_callback': >sound/core/init.c:772: warning: `pm_register' is deprecated (declared >at include/linux/pm.h:106) >sound/core/memory.c: In function `copy_from_user_toio': >sound/core/memory.c:299: warning: passing arg 1 of `_memcpy_toio' >discards qualifiers from pointer target type >*** Warning: "mtd_pm_callback" >[arch/arm/mach-pxa/hx4700/hx4700_core.ko] undefined! > >After replacing zImage and the modules in the latest starterkit with >their counterparts from this compilation the ipaq sort of booted into >opie, but it couldn't load some modules: > >hx4700_core: Unknown symbol hx4700_unlock_flash >hx4700_pcmcia: Unknown symbol hx4700_egpio_enable > >So bluetooth and cf don't work. >When I touch the navpoint the driver spills buffer overflow warnings. >Is there something I have done obviously wrong? >Is there a different kernel config I should use? > >-- >pHilipp >_______________________________________________ >Hx4700-port mailing list >Hx4700-port_at_handhelds.org >https://www.handhelds.org/mailman/listinfo/hx4700-port > > > >Received on Fri Jun 10 2005 - 23:06:59 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:21:04 EDT