This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JFFS2, redboot and fis command


> I agree that redboot is designed to run without the kernel, but jffs2 support is certainly enabled.

I also agree that RedBoot is designed to run without a kernel, but when
I add JFFS2 and no kernel...

#ecosconfig check
Target: eb40a
Template: redboot
Added:
 CYGPKG_IO_FLASH
 CYGPKG_FS_JFFS2
 CYGPKG_MEMALLOC
 CYGPKG_ERROR
 CYGPKG_LINUX_COMPAT
 CYGPKG_IO
 CYGPKG_IO_SERIAL
 CYGPKG_LIBC
 CYGPKG_IO_FILEIO
 CYGPKG_LIBC_STDIO
 CYGPKG_LIBC_I18N
 CYGPKG_LIBC_STDLIB
No conflicts

And when I make...

/home/edgar/redboot_new/install/lib/extras.o: In function `do_load':
/home/edgar/mycvs/ecos/ecos/packages/redboot/current/src/load.c:321:
undefined reference to `cyg_selinit'
/home/edgar/redboot_new/install/lib/extras.o: In function `do_load':
/home/edgar/redboot_new/install/include/redboot.h:391: undefined
reference to `cyg_selinit'
/home/edgar/redboot_new/install/lib/extras.o: In function `do_load':
/home/edgar/mycvs/ecos/ecos/packages/redboot/current/src/load.c:319:
undefined reference to `cyg_selrecord'
/home/edgar/mycvs/ecos/ecos/packages/redboot/current/src/load.c:160:
undefined reference to `cyg_selwakeup'
/home/edgar/mycvs/ecos/ecos/packages/redboot/current/src/load.c:491:
undefined reference to `cyg_selwakeup'
collect2: ld returned 1 exit status
make[1]: *** [/home/edgar/redboot_new/install/bin/redboot.elf] Error 1

I have found the missing functions in io/fileio/current/src/select.cxx
so it seems pretty strange to me why the linker complains. Anyway, this
error goes away after I add the kernel. 

Regards,
Edgar


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]