Skip to contentSkip to conversation

Problems getting DiskOnChip boot

DISCUSSION [email protected] 2 participants 2 messages Sep 7, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line · On Tue, 2004-09-07 at 13:49 +0300, [email protected] wrote:

The problem comes when I am trying to compile the 2.4.18 kernel

It does indeed. Use a current kernel -- at least 2.4.27 but preferably a 2.6 kernel.

Signature · 1 line
dwmw2