Altera_Forum
Honored Contributor
8 years agoBooting Linux from QSPI on SoCKit board
Hi, everyone!
I'm trying to boot Linux from QSPI on Terasic SoCKit. I've reproduced steps from 'BootTheArrowSoCKitFromQSPI' document exept building Yocto root filesystem (I got errors while building rootfs in Yocto under Ubuntu 16 and under Ubuntu 12). So I use buildroot filesystem. Also I use arm-linux-gnueabihf from SoC EDS (16.1) tool chain to build Linux kernel (cloned from Rocketboards, version 4.1). MTD support is included in Linux kernel config file, mtd tools are included in buildroot as well. After flashing QSPI and booting from it I get a message "... Unable to mount rootfs..." I contacted Terasic support and they sent me all files to be flashed into QSPI : .dtb, .zImage, preloader_with_header,u-boot, altera-image-minimal-socfpga_cyclone5.jffs2. With all this files into QSPI I got following message: U-Boot SPL 2012.10 (Aug 01 2013 - 10:55:05) SDRAM : Initializing MMR registers SDRAM : Calibrationg PHY SEQ.C: Preparing to start memory calibration SEQ.C: CALIBRATION PASSED SF: Unsupported manufacturer 20 SPI probe failed.# ## ERROR# ## Please RESET the board# ## Here we see that U-Boot SPL release is 2012.10. However, in 'BootTheArrowSoCKitFromQSPI' 2013.01.01 release is mentioned. So I tried flashing my own preloader and u-boot and 3 other files from Terasic, but again got "Unable to mount rootfs..." error. Hope to get replies with useful information.