Problems getting DiskOnChip boot

zaho at architect.bg zaho at architect.bg
Tue Sep 7 06:49:03 EDT 2004


 


Hi there !

I am desperate. I am trying to make my DiskOnChip 2000 bootable but till now I 
get no
much success. I have a Debian distro and with it I can read and write to the 
device. The problem
comes when I am trying to compile the 2.4.18 kernel with the new snapshot from 
mtd. I follow the
instructions from mtd-jffs-HOWTO. But after executing make bzImage I get the 
following errors:

fs/fs.o: In function `jffs2_garbage_collect_dnode':
fs/fs.o(.text+0x55ad6): undefined reference to `BUG_ON'
fs/fs.o(.text+0x55d4f): undefined reference to `BUG_ON'
fs/fs.o(.text+0x55d64): undefined reference to `BUG_ON'
fs/fs.o(.text+0x55d80): undefined reference to `BUG_ON'
fs/fs.o: In function `jffs2_build_filesystem':
fs/fs.o(.text+0x56257): undefined reference to `BUG_ON'
fs/fs.o: In function `jffs2_gc_fetch_inode':
fs/fs.o(.text+0x589a4): undefined reference to `ilookup'
drivers/mtd/mtdlink.o: In function `put_mtd_device':
drivers/mtd/mtdlink.o(.text+0x308): undefined reference to `BUG_ON'
drivers/mtd/mtdlink.o: In function `mtd_blktrans_thread':
drivers/mtd/mtdlink.o(.text+0x2a24): undefined reference to `BUG_ON'
drivers/mtd/mtdlink.o: In function `_DoC_WaitReady':
drivers/mtd/mtdlink.o(.text+0x57af): undefined reference to `cond_resched'
drivers/mtd/mtdlink.o: In function `DoC_IdentChip':
drivers/mtd/mtdlink.o(.text+0x5c9d): undefined reference to `nand_flash_ids'
drivers/mtd/mtdlink.o(.text+0x5ca9): undefined reference to `nand_flash_ids'
drivers/mtd/mtdlink.o(.text+0x5cc1): undefined reference to `nand_manuf_ids'
drivers/mtd/mtdlink.o(.text+0x5cce): undefined reference to `nand_manuf_ids'
drivers/mtd/mtdlink.o(.text+0x5cdf): undefined reference to `nand_flash_ids'
drivers/mtd/mtdlink.o(.text+0x5cee): undefined reference to `nand_manuf_ids'
drivers/mtd/mtdlink.o(.text+0x5d44): undefined reference to `nand_flash_ids'
drivers/mtd/mtdlink.o(.text+0x5d60): undefined reference to `nand_flash_ids'
make: *** [vmlinux] Error 1


Can someone help and give info how to make the DiskOnChip bootable without 
using 
M-Sys stuff ?

Best regards,
     Zax 





More information about the linux-mtd mailing list