Thanks in advance. So, I've had trouble getting the Sodia to work with the fpga2hps with Quartur 15.1.
I saw the link below and it explains that U-boot 2013.01.01 solves this and I found that the GSRD 16.1 for the Sodia has this U-boot. https://rocketboards.org/foswiki/view/Documentation/GSRD160ProgrammingFPGAfromHPSArrowSoCKitEdition#GSRD_FPGA_Configuration So, we took the GSRD and added our IP that uses the fpga2hps bridge. Did all the Quartus stuff necessary, got a .sof generated a .dtb file and an .rbf (I wasn't sure what .rbf format to use so I have tried them all - same error). I am enclosing the minicom output from the boot. Basically it reads the .rbf file but then gives me "altera load: Failed with error code -4. I haven't been able to find out what that means... been Googling... Any insight would be greatly appreciated.
U-Boot 2013.01.01 (Dec 22 2016 - 15:37:01) CPU : Altera SOCFPGA Platform BOARD : Altera SOCFPGA Cyclone V Board I2C: ready DRAM: 1 GiB MMC: ALTERA DWMMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: mii0 Hit any key to stop autoboot: 0 reading u-boot.scr 245 bytes read in 4 ms (59.6 KiB/s) ## Executing script at 02000000 reading output_files/soc_system.rbf 7007204 bytes read in 324 ms (20.6 MiB/s) altera_load: Failed with error code -4 ## Starting application at 0x3FF795A4 ... ## Application terminated, rc = 0x0 reading zImage 4064480 bytes read in 192 ms (20.2 MiB/s) reading soc_system.dtb 25242 bytes read in 7 ms (3.4 MiB/s) ## Flattened Device Tree blob at 00000100 Booting using the fdt blob at 0x00000100 Loading Device Tree to 03ff6000, end 03fff299 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Linux version 4.1.22-ltsi-02999-g9689ce4 (q16@nxp-System-Product-Name) (gcc version 4.87 [ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Altera SOCFPGA Cyclone V [ 0.000000] Truncating RAM at 0x00000000-0x40000000 to -0x2f800000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] PERCPU: Embedded 12 pages/cpu @ef1db000 s19648 r8192 d21312 u49152 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 193040 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 762376K/778240K available (6179K kernel code, 427K rwdata, 1564K rodata, 428K i) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0798078 (7745 kB) [ 0.000000] .init : 0xc0799000 - 0xc0804000 ( 428 kB) [ 0.000000] .data : 0xc0804000 - 0xc086ee38 ( 428 kB) [ 0.000000] .bss : 0xc086ee38 - 0xc08906ac ( 135 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] L2C: platform modifies aux control register: 0x02060000 -> 0x32460000 [ 0.000000] L2C: platform provided aux values permit register corruption. [ 0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32460000 [ 0.000000] L2C-310 erratum 769419 enabled [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9 [ 0.000000] L2C-310 ID prefetch enabled, offset 1 lines [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB [ 0.000000] L2C-310: CACHE_ID 0x410030c9, AUX_CTRL 0x76460001 [ 0.000000] clocksource timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns [ 0.000007] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns [ 0.000442] Console: colour dummy device 80x30 [ 0.000462] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816) [ 0.090297] pid_max: default: 32768 minimum: 301 [ 0.090399] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.090412] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.090982] CPU: Testing write buffer coherency: ok [ 0.091012] ftrace: allocating 20822 entries in 62 pages [ 0.122805] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.123053] Setting up static identity map for 0x8280 - 0x82d8 [ 0.160284] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.160350] Brought up 2 CPUs [ 0.160366] SMP: Total of 2 processors activated (3188.32 BogoMIPS). [ 0.160373] CPU: All CPU(s) started in SVC mode. [ 0.160829] devtmpfs: initialized [ 0.166663] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.166957] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191126044627s [ 0.168382] NET: Registered protocol family 16 [ 0.169287] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.177060] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.177075] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.213166] vgaarb: loaded [ 0.213453] SCSI subsystem initialized [ 0.213778] usbcore: registered new interface driver usbfs [ 0.213845] usbcore: registered new interface driver hub [ 0.213909] usbcore: registered new device driver usb [ 0.214082] sopc@0:usbphy@0 supply vcc not found, using dummy regulator [ 0.215283] pps_core: LinuxPPS API ver. 1 registered [ 0.215296] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giome...@linux.it> [ 0.215331] PTP clock support registered [ 0.215531] FPGA manager framework [ 0.216656] Switched to clocksource timer [ 0.247253] NET: Registered protocol family 2 [ 0.247851] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.247931] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.248054] TCP: Hash tables configured (established 8192 bind 8192) [ 0.248132] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.248180] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.248377] NET: Registered protocol family 1 [ 0.248698] RPC: Registered named UNIX socket transport module. [ 0.248709] RPC: Registered udp transport module. [ 0.248716] RPC: Registered tcp transport module. [ 0.248722] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.249284] CPU PMU: Failed to parse /sopc@0/pmu0/interrupt-affinity[0] [ 0.249325] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 0.250256] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.261064] NFS: Registering the id_resolver key type [ 0.261108] Key type id_resolver registered [ 0.261116] Key type id_legacy registered [ 0.261175] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.261520] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc. [ 0.262536] io scheduler noop registered (default) [ 0.266795] dma-pl330 ffe01000.dma: Loaded driver for PL330 DMAC-341330 [ 0.266813] dma-pl330 ffe01000.dma: DBUFF-512x8bytes Num_Chans-8 Num_Peri-32 Num_Events-8 [ 0.270750] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.271920] console [ttyS0] disabled [ 0.271961] ffc02000.serial: ttyS0 at MMIO 0xffc02000 (irq = 25, base_baud = 6250000) is a 16550A [ 0.853759] console [ttyS0] enabled [ 0.858886] brd: module loaded [ 0.862017] at24 0-0051: 4096 byte 24c32 EEPROM, writable, 32 bytes/write [ 0.869651] cadence-qspi ff705000.flash: Read data capture delay for 100000000 baud calibrated to 4) [ 0.879395] cadence-qspi ff705000.flash: n25q512ax3 (65536 Kbytes) [ 0.885737] 2 ofpart partitions found on MTD device ff705000.flash [ 0.891910] Creating 2 MTD partitions on "ff705000.flash": [ 0.897387] 0x000000000000-0x000000800000 : "Flash 0 Raw Data" [ 0.904005] 0x000000800000-0x000004000000 : "Flash 1 jffs2 Filesystem" [ 0.911288] cadence-qspi ff705000.flash: Cadence QSPI NOR flash driver [ 0.918987] CAN device driver interface [ 0.923432] stmmaceth ff702000.ethernet: snps,phy-addr property is deprecated [ 0.930724] stmmac - user ID: 0x10, Synopsys ID: 0x37 [ 0.935755] Ring mode enabled [ 0.938809] DMA HW capability register supported [ 0.943319] Enhanced/Alternate descriptors [ 0.947675] Enabled extended descriptors [ 0.951668] RX Checksum Offload Engine supported (type 2) [ 0.957140] TX Checksum insertion supported [ 0.961390] Enable RX Mitigation via HW Watchdog Timer [ 0.972706] libphy: stmmac: probed [ 0.976101] eth0: PHY ID 00221611 at 4 IRQ POLL (stmmac-0:04) active [ 0.982875] ffb40000.usb supply vusb_d not found, using dummy regulator [ 0.989532] ffb40000.usb supply vusb_a not found, using dummy regulator [ 1.026728] dwc2 ffb40000.usb: EPs: 16, dedicated fifos, 8064 entries in SPRAM [ 1.886723] dwc2 ffb40000.usb: DWC OTG Controller [ 1.891434] dwc2 ffb40000.usb: new USB bus registered, assigned bus number 1 [ 1.898498] dwc2 ffb40000.usb: irq 37, io mem 0x00000000 [ 1.904031] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.910815] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.918020] usb usb1: Product: DWC OTG Controller [ 1.922707] usb usb1: Manufacturer: Linux 4.1.22-ltsi-02999-g9689ce4 dwc2_hsotg [ 1.929996] usb usb1: SerialNumber: ffb40000.usb [ 1.935182] hub 1-0:1.0: USB hub found [ 1.938968] hub 1-0:1.0: 1 port detected [ 1.943416] usbcore: registered new interface driver usb-storage [ 1.949774] mousedev: PS/2 mouse device common for all mice [ 1.961142] rtc-ds1307 0-0068: rtc core: registered ds1339 as rtc0 [ 1.967393] i2c /dev entries driver [ 1.971708] watchdog: Invalid min and max timeout values, resetting to 0! [ 1.978938] Synopsys Designware Multimedia Card Interface Driver [ 1.985182] dw_mmc ff704000.flash: IDMAC supports 32-bit address mode. [ 1.991738] dw_mmc ff704000.flash: Using internal DMA controller. [ 1.997826] dw_mmc ff704000.flash: Version ID is 240a [ 2.002897] dw_mmc ff704000.flash: DW MMC controller at irq 36, 32 bit host data width, 1024 deep fo [ 2.012342] dw_mmc ff704000.flash: Got CD GPIO [ 2.056661] dw_mmc ff704000.flash: 1 slots initialized
_______________________________________________ Rfi mailing list Rfi@lists.rocketboards.org http://lists.rocketboards.org/cgi-bin/mailman/listinfo/rfi