Forum Discussion
Altera_Forum
Honored Contributor
8 years agoI programmed QSPI-flash with my preloader and u-boot also rootfs,zImage, and .dtb from Terasic support. In this combination Linux boots normally from QSPI.
But I can't build Linux Kernel and/or rootfs that allow to boot Linux from QSPI. I always get "Unable to mount rootfs..." message. If I take a Terasic SD-card (revF) and boot Linux from it I can check mtd partitions (command cat /proc/mtd gives information about two partitions defined in .dtb by default). But if I replace zImage file (Kernel 3.12 on Terasic SD revF) with zImage 4.1 that I've built in Ubuntu16 from linux-socfpga sources (cloned from rocketboards) I can't see mtd partitions anymore... MTD drivers support is turned on in menuconfig, so MTD drivers must be included into Kernel. I've tried to compile Kernel using linaro toolchain and SoC EDS toolchain, but in both cases result was negative.