- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've got a previous MMU design from the 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.
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? Does this new Nios II Linux support what I need to do? 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?Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
O.K. so I found the define in ../include/asm-generic/pci.h and I added that include to the scsi-lib.c file. I have a vmImage but don't have the board right now.
I'd still like some clarification of the status of this Nios II Linux release if anyone can help out with that. Thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Nios II Linux is maintained by Altera, and is based on MMU.
UcLinux-dist is not being maintained by anyone afaik.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
--- Quote Start --- The Nios II Linux is maintained by Altera, and is based on MMU. UcLinux-dist is not being maintained by anyone afaik. --- Quote End --- I also think that no one is maintaining the uClinux-distri, but please don't blame every error on their maintenance. And also I think that Altera is passing a whole NiosII Linux thing onto other companies and doing nothing by themselves. Kazu
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page