Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi all,
thanks Hippo for this post, this is very interesting, however I have 2 questions : - in the post regarding your port of linux-2.6.15.2, when I try to enable the JTAG uart, I get an error message : <div class='quotetop'>QUOTE </div> --- Quote Start --- CC drivers/serial/altera_juart.o drivers/serial/altera_juart.c: In function `jtaguart_type': drivers/serial/altera_juart.c:285: error: `PORT_JTAG_UART' undeclared (first use in this function) drivers/serial/altera_juart.c:285: error: (Each undeclared identifier is reported only once drivers/serial/altera_juart.c:285: error: for each function it appears in.) drivers/serial/altera_juart.c: In function `jtaguart_config_port': drivers/serial/altera_juart.c:311: error: `PORT_JTAG_UART' undeclared (first use in this function) drivers/serial/altera_juart.c: In function `jtaguart_verify_port': drivers/serial/altera_juart.c:322: error: `PORT_JTAG_UART' undeclared (first use in this function) drivers/serial/altera_juart.c: At top level: drivers/serial/altera_juart.c:335: warning: initialization from incompatible pointer type drivers/serial/altera_juart.c:336: warning: initialization from incompatible pointer type make[2]: *** [drivers/serial/altera_juart.o] Error 1 make[1]: *** [drivers/serial] Error 2 make: *** [drivers] Error 2[/b] --- Quote End --- - it seems that I have a problem with the elf2flt : when I try to execute <div class='quotetop'>QUOTE </div> --- Quote Start --- nios2-linux-uclibc-flthdr build_nios2/busybox-1.1.0/busybox[/b] --- Quote End --- I get an error message : <div class='quotetop'>QUOTE </div> --- Quote Start --- Cannot read header of ../buildroot/build_nios2/busybox-1.1.0/busybox[/b] --- Quote End --- and when I run the kernel, I get a bad magic error, which, I think, means that the format of busybox is not flt. Have you any idea on how to solve this ? Thanks a lot Best regards Pierre-olivier