Forum Discussion
Altera_Forum
Honored Contributor
11 years agoI've got a previous MMU design from the older uClinux-dist that I know works. I have a *.dts and my *.sof that I'm not trying to get going on the Rocketboards Nios II linux-socfpga.
I'm just downloading directly to RAM so I just goto Platform Options and select my *.dts and build the vmlinux kernel for downloading. It runs on the DE2-115 Terasic board. I have a daughter card with a compact flash adapter. So in the kernel configuration I also enable SCSI disk support and Serial ATA Generic platform device PATA support. When I do a "make vmImage" I get the following error: ****************************************************************************8 [user1@localhost linux-socfpga]$ make vmImage CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h DTC arch/nios2/boot/system.dtb AS arch/nios2/boot/linked_dtb.o LD arch/nios2/boot/built-in.o CC drivers/scsi/scsi_lib.o drivers/scsi/scsi_lib.c: In function 'scsi_calculate_bounce_limit': drivers/scsi/scsi_lib.c:1682:7: error: 'PCI_DMA_BUS_IS_PHYS' undeclared (first use in this function) drivers/scsi/scsi_lib.c:1682:7: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [drivers/scsi/scsi_lib.o] Error 1 make[1]: *** [drivers/scsi] Error 2 make: *** [drivers] Error 2 [user1@localhost linux-socfpga]$ ****************************************************************** Can anyone help tell me what's the problem? Thanks in Advance Oh - if I remove the SCSI I can't boot either -- I get: Linux version 3.14.0-00598-g8adb74d (user1@localhost.localdomain) (gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-43) )# 7 Wed May 7 13:20:41 CDT 2014 bootconsole [early0] enabled early_console initialized at 0xe9004040 BUG: failure at mm/bootmem.c:378/mark_bootmem()! Kernel panic - not syncing: BUG! Any help would be greatly appreciated. I'm assuming that the Rocket boards Nios II linux is what I should use now for Altera nios2? If this isn't true then please let me know. Also, is this all MMU or can I do a non-MMU project by just not having it in the *.dts file?