On 9/09/2017 08:07, Janet Estabridis wrote:
Thanks in advance.
On the Altera SoC Evaluation Board -->
So, I'm using GSRD 16.1 SD card image to set up my QSPI for boot. I got all
the needed files but when I go to erase the flash I get the following:
root@cyclone5:~/sdcard/8Sept17-QSPIfiles# ls -al
drwxr-xr-x 2 root root 4096 Sep 8 2017 .
drwxr-xr-x 4 root root 4096 Jan 1 1970 ..
-rwxr-xr-x 1 root root 11796480 Sep 8 2017
altera-image-minimal-socfpga_cyclone5.jffs2
-rwxr-xr-x 1 root root 262144 Sep 8 2017 preloader-mkpimage.bin
-rwxr-xr-x 1 root root 2352556 Sep 8 2017 soc_system.rbf
-rwxr-xr-x 1 root root 25252 Sep 8 2017 socfpga.dtb
-rwxr-xr-x 1 root root 258088 Sep 8 2017
u-boot-socfpga_cyclone5.img
-rwxr-xr-x 1 root root 4051904 Oct 31 2016 zImage
root@cyclone5:~/sdcard/8Sept17-QSPIfiles# flash_erase /dev/mtd0 0 0
-sh: flash_erase: command not found
root@cyclone5:~/sdcard/8Sept17-QSPIfiles# mtd_debug
-sh: mtd_debug: command not found
root@cyclone5:~/sdcard/8Sept17-QSPIfiles# flash_erase /dev/mtd0 0 0
WHAT DO I HAVE TO ADD TO THE LINUX KERNEL to enable flash_erase, etc. ?
Or what am I missing ??
I built the default zImage too and tried it.
I think your image needs mtd-utils.
You may be able to:
> opkg update
> opkg install mtd-utils
--
Regards
Phil Reid
ElectroMagnetic Imaging Technology Pty Ltd
Development of Geophysical Instrumentation & Software
www.electromag.com.au
3 The Avenue, Midland WA 6056, AUSTRALIA
Ph: +61 8 9250 8100
Fax: +61 8 9250 7100
Email: pr...@electromag.com.au
_______________________________________________
Rfi mailing list
Rfi@lists.rocketboards.org
http://lists.rocketboards.org/cgi-bin/mailman/listinfo/rfi