Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
494 Discussions

Intel Arria 10 SOC QSPI boot Stuck

Aravind_18
Beginner
1,781 Views

Hi team,

We are using Intel Arria 10 SOC 10AS032E2F29I2SG  and QSPI flash for the boot source  MT25QU01GBBB8E12-0SIT . During the booting time , the line gets stucked at SF: Detected N25Q1024A with page size 256 Bytes, erase size 4 KiB, total 128 MiB .

This happens intermittently and at some cases the booting gets completed.I have attached the log image below for your reference.

Please suggest  to resolve this issue asap.

Thanks in advance.

Aravind_18_1-1709643648878.png

 

 

0 Kudos
5 Replies
EBERLAZARE_I_Intel
1,745 Views

Hi, 


Can you share your successful boot logs as well?


Also, can you share the steps how you built your bootloaders binaries?


We recommend that you follow our Rocketboards Building Bootloader guide it is using the latest U-boot and Quartus:

https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10#Arria_10_SoC_45_Boot_from_QSPI



Anyway, for this issue, we can check your boot env, stop your uboot and run "printenv" and share me the env settings logs.


0 Kudos
EBERLAZARE_I_Intel
1,680 Views

Hi,


Do you have any further update?


0 Kudos
EBERLAZARE_I_Intel
1,620 Views

Hi,


As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.



p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


0 Kudos
Aravind_18
Beginner
1,555 Views

Hi,

Please find the successful log below

U-Boot 2014.10 (Jun 17 2022 - 20:49:44)

CPU : Altera SOCFPGA Arria 10 Platform
BOARD : Altera SOCFPGA Arria 10 Dev Kit
I2C: ready
DRAM: WARNING: Caches not enabled
SF: Read data capture delay calibrated to 3 (0 - 6)
SF: Detected N25Q1024A with page size 256 Bytes, erase size 4 KiB, total 128 MiB
FPGA: Early Release Succeeded.
SF: Detected N25Q1024A with page size 256 Bytes, erase size 4 KiB, total 128 MiBemif_reset interrupt acknowledged
emif_reset interrupt acknowledged
emif_reset interrupt acknowledged
Error: Could Not Calibrate SDRAM
DDRCAL: Failed
INFO : Skip relocation as SDRAM is non secure memory
Reserving 2048 Bytes for IRQ stack at: ffe3a6e8
DRAM : 0 Bytes
data abort
pc : [<ffe001cc>] lr : [<ffe02499>]
sp : ffe3fff0 ip : 00000016 fp : 00000001
r10: ffd02078 r9 : ffe3aee8 r8 : ffe00000
r7 : ffe1d420 r6 : 00000000 r5 : 00000000 r4 : ffeff000
r3 : ffe3afaf r2 : ffe40000 r1 : ffe3d000 r0 : ffe3aee8
Flags: nzcv IRQs on FIQs on Mode SVC_32
Resetting CPU ...

resetting ...


U-Boot 2014.10 (Jun 17 2022 - 20:49:44)

CPU : Altera SOCFPGA Arria 10 Platform
BOARD : Altera SOCFPGA Arria 10 Dev Kit
I2C: ready
DRAM: WARNING: Caches not enabled
SF: Read data capture delay calibrated to 3 (0 - 6)
SF: Detected N25Q1024A with page size 256 Bytes, erase size 4 KiB, total 128 MiB
FPGA: Early Release Succeeded.
SF: Detected N25Q1024A with page size 256 Bytes, erase size 4 KiB, total 128 MiBemif_reset interrupt acknowledged
DDRCAL: Success
INFO : Skip relocation as SDRAM is non secure memory
Reserving 2048 Bytes for IRQ stack at: ffe3a6e8
DRAM : 2 GiB
WARNING: Caches not enabled
SF: Read data capture delay calibrated to 8 (0 - 15)
SF: Detected N25Q1024A with page size 256 Bytes, erase size 4 KiB, total 128 MiB
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Model: SOCFPGA Arria10 Dev Kit
gpio_ethernet_address 1 gpio_ethernet_address+4 1Skipped ethaddr assignment due to invalid EMAC address in EEPROM
Net: dwmac.ff800000
Error: dwmac.ff800000 address not set.

Hit any key to stop autoboot: 5 4 3 2 1 0
SF: Read data capture delay calibrated to 3 (0 - 6)
SF: Detected N25Q1024A with page size 256 Bytes, erase size 4 KiB, total 128 MiB
Full Configuration Succeeded.
SF: Detected N25Q1024A with page size 256 Bytes, erase size 4 KiB, total 128 MiB
SF: 6225920 bytes @ 0x120000 Read: OK
SF: 32512 bytes @ 0x100000 Read: OK
FPGA BRIDGES: enable
Kernel image @ 0x008000 [ 0x000000 - 0x4dd360 ]
## Flattened Device Tree blob at 00000100
Booting using the fdt blob at 0x000100
Loading Device Tree to 01ff6000, end 01fff215 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.124 (nsi@nsi-HP-ProBook-440-G5) (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #3 SMP Tue Oct 12 14:38:22 IST 2021
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Altera SOCFPGA Arria 10
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 18 pages/cpu s44812 r8192 d20724 u73728
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 522752
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 2067752K/2097152K available (8192K kernel code, 557K rwdata, 1728K rodata, 1024K init, 143K bss, 29400K reserved, 0K cma-reserved, 1310720K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] ftrace: allocating 26701 entries in 53 pages
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310: enabling full line of zeros but not enabled in 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] random: get_random_bytes called from start_kernel+0x32c/0x4ec with crng_init=0
[ 0.000000] GIC: PPI13 is secure or misconfigured
[ 0.000000] GIC: PPI13 is secure or misconfigured
[ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.000004] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
[ 0.000011] Switching to timer-based delay loop, resolution 10ns
[ 0.000300] Console: colour dummy device 80x30
[ 0.000325] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=1000000)
[ 0.000334] pid_max: default: 32768 minimum: 301
[ 0.000417] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.000428] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.000904] CPU: Testing write buffer coherency: ok
[ 0.000929] CPU0: Spectre v2: using BPIALL workaround
[ 0.001127] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001562] Setting up static identity map for 0x100000 - 0x100060
[ 0.001662] rcu: Hierarchical SRCU implementation.
[ 0.001881] smp: Bringing up secondary CPUs ...
[ 0.002417] GIC: PPI13 is secure or misconfigured
[ 0.002426] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.002431] CPU1: Spectre v2: using BPIALL workaround
[ 0.002518] smp: Brought up 1 node, 2 CPUs
[ 0.002526] SMP: Total of 2 processors activated (400.00 BogoMIPS).
[ 0.002530] CPU: All CPU(s) started in SVC mode.
[ 0.003068] devtmpfs: initialized
[ 0.006173] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.006330] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.006344] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.006945] NET: Registered protocol family 16
[ 0.007913] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.008541] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.008548] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.017593] vgaarb: loaded
[ 0.017776] SCSI subsystem initialized
[ 0.017902] usbcore: registered new interface driver usbfs
[ 0.017936] usbcore: registered new interface driver hub
[ 0.017967] usbcore: registered new device driver usb
[ 0.018087] usb_phy_generic sopc@0:usbphy0: sopc@0:usbphy0 supply vcc not found, using dummy regulator
[ 0.018930] pps_core: LinuxPPS API ver. 1 registered
[ 0.018937] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.018949] PTP clock support registered
[ 0.019054] FPGA manager framework
[ 0.019652] clocksource: Switched to clocksource timer
[ 0.337257] NET: Registered protocol family 2
[ 0.337457] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.338138] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.338159] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.338214] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.338305] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.338434] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.338473] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.338620] NET: Registered protocol family 1
[ 0.338951] RPC: Registered named UNIX socket transport module.
[ 0.338959] RPC: Registered udp transport module.
[ 0.338963] RPC: Registered tcp transport module.
[ 0.338966] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.338976] PCI: CLS 0 bytes, default 64
[ 0.339414] hw perfevents: no interrupt-affinity property for /sopc@0/pmu0, guessing.
[ 0.339574] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.340376] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[ 0.344827] NFS: Registering the id_resolver key type
[ 0.344850] Key type id_resolver registered
[ 0.344855] Key type id_legacy registered
[ 0.344865] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.345266] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.345459] jffs2: version 2.2. (NAND) 2001-2006 Red Hat, Inc.
[ 0.345833] bounce: pool size: 64 pages
[ 0.345844] io scheduler mq-deadline registered
[ 0.345850] io scheduler kyber registered
[ 0.349469] altvipfb2 ff200280.vip: fb0: altvipfb2 frame buffer device at 0x2e000000+0x54600
[ 0.351389] Console: switching to colour frame buffer device 60x30
[ 0.354475] dma-pl330 ffda1000.dma: Loaded driver for PL330 DMAC-341330
[ 0.354485] dma-pl330 ffda1000.dma: DBUFF-512x8bytes Num_Chans-8 Num_Peri-32 Num_Events-8
[ 0.356367] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.357046] printk: console [ttyS0] disabled
[ 0.357416] printk: console [ttyS0] disabled
[ 0.357447] ffc02100.serial: ttyS0 at MMIO 0xffc02100 (irq = 30, base_baud = 6250000) is a 16550A
[ 0.984366] printk: console [ttyS0] enabled
[ 0.989587] brd: module loaded
[ 0.998620] loop: module loaded
[ 1.002535] cadence-qspi ff809000.flash: n25q00a (131072 Kbytes)
[ 1.008534] 2 fixed-partitions partitions found on MTD device ff809000.flash.0
[ 1.015749] Creating 2 MTD partitions on "ff809000.flash.0":
[ 1.021399] 0x000000000000-0x000003020000 : "Boot and FPGA data"
[ 1.028231] 0x000003020000-0x000008000000 : "Root Filesystem - JFFS2"
[ 1.036271] altr_a10sr_gpio altr_a10sr_gpio.1.auto: DMA mask not set
[ 1.043098] libphy: Fixed MDIO Bus: probed
[ 1.047542] CAN device driver interface
[ 1.051597] socfpga-dwmac ff800000.ethernet: IRQ eth_wake_irq not found
[ 1.058182] socfpga-dwmac ff800000.ethernet: IRQ eth_lpi not found
[ 1.064442] socfpga-dwmac ff800000.ethernet: PTP uses main clock
[ 1.070572] socfpga-dwmac ff800000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[ 1.077678] socfpga-dwmac ff800000.ethernet: DWMAC1000
[ 1.082897] socfpga-dwmac ff800000.ethernet: DMA HW capability register supported
[ 1.090351] socfpga-dwmac ff800000.ethernet: RX Checksum Offload Engine supported
[ 1.097797] socfpga-dwmac ff800000.ethernet: COE Type 2
[ 1.103002] socfpga-dwmac ff800000.ethernet: TX Checksum insertion supported
[ 1.110023] socfpga-dwmac ff800000.ethernet: Enhanced/Alternate descriptors
[ 1.116950] socfpga-dwmac ff800000.ethernet: Enabled extended descriptors
[ 1.123709] socfpga-dwmac ff800000.ethernet: Ring mode enabled
[ 1.129514] socfpga-dwmac ff800000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.137498] socfpga-dwmac ff800000.ethernet: device MAC address 4e:ee:d6:99:56:4c
[ 1.152094] libphy: stmmac: probed
[ 1.155489] Marvell 88E1510 stmmac-0:0e: attached PHY driver [Marvell 88E1510] (mii_bus:phy_addr=stmmac-0:0e, irq=POLL)
[ 1.167124] dwc2 ffb00000.usb: ffb00000.usb supply vusb_d not found, using dummy regulator
[ 1.175419] dwc2 ffb00000.usb: ffb00000.usb supply vusb_a not found, using dummy regulator
[ 1.197124] dwc2 ffb00000.usb: dwc2_core_reset: HANG! AHB Idle timeout GRSTCTL GRSTCTL_AHBIDLE
[ 1.205830] dwc2: probe of ffb00000.usb failed with error -16
[ 1.211659] usbcore: registered new interface driver usb-storage
[ 1.217815] i2c /dev entries driver
[ 1.222230] Synopsys Designware Multimedia Card Interface Driver
[ 1.228422] dw_mmc ff808000.flash: IDMAC supports 32-bit address mode.
[ 1.234974] dw_mmc ff808000.flash: Using internal DMA controller.
[ 1.241065] dw_mmc ff808000.flash: Version ID is 270a
[ 1.246124] dw_mmc ff808000.flash: DW MMC controller at irq 36,32 bit host data width,1024 deep fifo
[ 1.255314] mmc_host mmc0: card is polling.
[ 1.269675] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 1.372295] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz, actual 25000000HZ div = 1)
[ 1.382165] mmc0: new MMC card at address 0001
[ 1.387177] mmcblk0: mmc0:0001 S0J58X 59.3 GiB
[ 1.392207] mmcblk0boot0: mmc0:0001 S0J58X partition 1 31.5 MiB
[ 1.398682] mmcblk0boot1: mmc0:0001 S0J58X partition 2 31.5 MiB
[ 1.499656] altr_a10sr spi0.0: SPI transfer timed out
[ 1.504701] spi_master spi0: failed to transfer one message from queue
[ 1.719648] altr_a10sr spi0.0: SPI transfer timed out
[ 1.724683] spi_master spi0: failed to transfer one message from queue
[ 1.939647] altr_a10sr spi0.0: SPI transfer timed out
[ 1.944680] spi_master spi0: failed to transfer one message from queue
[ 2.159646] altr_a10sr spi0.0: SPI transfer timed out
[ 2.164676] spi_master spi0: failed to transfer one message from queue
[ 2.171701] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.177779] usbcore: registered new interface driver usbhid
[ 2.183338] usbhid: USB HID core driver
[ 2.187485] fpga_manager fpga0: SoCFPGA Arria10 FPGA Manager registered
[ 2.194431] oprofile: using arm/armv7-ca9
[ 2.198968] NET: Registered protocol family 10
[ 2.204035] Segment Routing with IPv6
[ 2.207726] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.214053] NET: Registered protocol family 17
[ 2.218490] NET: Registered protocol family 15
[ 2.222931] can: controller area network core (rev 20170425 abi 9)
[ 2.229128] NET: Registered protocol family 29
[ 2.233565] can: raw protocol (rev 20170425)
[ 2.237813] can: broadcast manager protocol (rev 20170425 t)
[ 2.243454] can: netlink gateway (rev 20190810) max_hops=1
[ 2.249042] 8021q: 802.1Q VLAN Support v1.8
[ 2.253259] Key type dns_resolver registered
[ 2.257544] ThumbEE CPU extension supported.
[ 2.261814] Registering SWP/SWPB emulation handler
[ 2.269034] hctosys: unable to open rtc device (rtc0)
[ 2.274088] of_cfs_init
[ 2.276601] of_cfs_init: OK
[ 2.279763] ttyS0 - failed to request DMA
[ 2.294656] random: fast init done
[ 3.009684] random: crng init done
[ 5.015667] VFS: Mounted root (jffs2 filesystem) on device 31:1.
[ 5.021791] devtmpfs: mounted
[ 5.026638] Freeing unused kernel memory: 1024K
[ 5.031318] Run /sbin/init as init process
INIT: version 2.96 booting
Starting udev
[ 5.493948] udevd[72]: starting version 3.2.9
[ 5.524300] udevd[73]: starting eudev-3.2.9
hwclock: can't o
INIT: Entering runlevel: 5
Configuring network interfaces... [ 6.201156] socfpga-dwmac ff800000.ethernet eth0: PHY [stmmac-0:0e] driver [Marvell 88E1510]
[ 6.210430] dwmac1000: Master AXI performs any burst length
[ 6.215987] socfpga-dwmac ff800000.ethernet eth0: No Safety Features support found
[ 6.223606] socfpga-dwmac ff800000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[ 6.232310] socfpga-dwmac ff800000.ethernet eth0: registered PTP clock
[ 6.238828] socfpga-dwmac ff800000.ethernet eth0: configuring for phy/rgmii-id link mode
done.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting syslogd/klogd: done
mount: mounting /dev/mmcblk0 on /mnt failed: Invalid argument
NSI Application Star....
Config loaded from 'TC_All.ini': FPS=60, ROLL=20, Total Area=1028
pconfig->iImage_DURATION = 3
Config loaded from 'EMC_Test_Mode_1.ini': FPS=60, ROLL=10, Total Area=10
pconfig->iImage_DURATION = 1
Config loaded from 'EMC_Test_Mode_1.ini': FPS=60, ROLL=10, Total Area=10
Function_6 ---> Disable FPGA IPs
Disable Framebuffer
select the MUX output
ModeN Valid Register
Disable CVO IP
/dev/mem opened.
Memory mapped at address 0xb6fa7000.
Value at address 0xFF200010 (0xb6fa7010): 0x0
Written 0x4; readback 0x4
/dev/mem opened.
Memory mapped at address 0xb6fd0000.
Value at address 0xFF206000 (0xb6fd0000): 0x0
Written 0x1; readback 0x1
Tue Feb 27 14:01:11 UTC 2024
Tue Feb 27 14:01:11 UTC 2024
vinfo.xres : 480
vinfo.yres : 240
vinfo.bits_per_pixel : 24
/dev/mem opened.
Memory mapped at address 0xb6f26000.
Function_6 ---> Disable FPGA IPs
BitFile Version : V6.2
Pixel Clock : 8.3 MHz
Firmware Version : NSI_App_V1.30
Resolution : 480x240
Bind Successful

 

 

 

 

Also We have flashed this to many boards....and all are working fine...only one board having this issue. 

 

Please find the below env settings you asked

SOCFPGA_ARRIA10 # printenv
baudrate=115200
bootargs=console=ttyS0,115200
bootcmd=run qspirbfcore_rbf_prog; run qspiload;run set_initswstate; run qspiboot
bootdelay=5
bootimage=zImage
bootimagesize=0x5F0000
callscript=if fatload mmc 0:1 $fpgadata $scriptfile;then source $fpgadata;elseecho Optional boot script not found.Continuing to boot normally;fi;
cff_devsel_partition=0:1
core_rbf_prog=fpga loadfs 0 mmc 0:1 ${rbfcoreimage} core
ethact=dwmac.ff800000
fdt_high=0x2000000
fdtaddr=0x100
fdtimage=socfpga_arria10_socdk_qspi.dtb
fdtimagesize=0x7f00
fpga=0
fpgadata=0x2000000
fpgadatasize=0x700000
ksz9031-rgmii-clock-skew=0x3fc
ksz9031-rgmii-ctrl-skew=0x70
ksz9031-rgmii-rxd-skew=0x7777
ksz9031-rgmii-txd-skew=0x0
loadaddr=0x8000
micrel-ksz9021-clk-skew=0xf0f0
micrel-ksz9021-data-skew=0x0
mmcboot=setenv bootargs console=ttyS0,115200 root=${mmcroot} rw rootwait;fpgabr 1;bootz ${loadaddr} - ${fdtaddr}
mmcload=mmc rescan;${mmcloadcmd} mmc 0:${mmcloadpart} ${loadaddr} ${bootimage};${mmcloadcmd} mmc 0:${mmcloadpart} ${fdtaddr} ${fdtimage}
mmcloadcmd=fatload
mmcloadpart=1
mmcroot=/dev/mmcblk0p2
nandboot=setenv bootargs console=ttyS0,115200 root=${nandroot} rw rootfstype=${nandrootfstype};fpgabr 1;bootz ${loadaddr} - ${fdtaddr}
nandbootimageaddr=0x120000
nandfdtaddr=0x100000
nandload=nand read ${loadaddr} ${nandbootimageaddr} ${bootimagesize};nand read ${fdtaddr} ${nandfdtaddr} ${fdtimagesize}
nandrbfcore_rbf_prog=fpga loadfs 0 nand 0:0 ${nandrbfcoreimage} core
nandrbfcoreimage=0x820000
nandroot=/dev/mtdblock1
nandrootfstype=jffs2
netboot=dhcp ${bootimage};tftp ${fdtaddr} ${fdtimage} ; run ramboot
qspi_upage_cs=2
qspiboot=setenv bootargs console=ttyS0,115200 root=${qspiroot} rw rootfstype=${qspirootfstype};fpgabr 1;bootz ${loadaddr} - ${fdtaddr}
qspibootimageaddr=0x120000
qspifdtaddr=0x100000
qspiload=sf probe ${qspiloadcs};sf read ${loadaddr} ${qspibootimageaddr} ${bootimagesize};sf read ${fdtaddr} ${qspifdtaddr} ${fdtimagesize};
qspiloadcs=0
qspirbfaddr=0x720000
qspirbfcore_rbf_prog=fpga loadfs 0 qspi 0:0 ${qspirbfcoreimage} core
qspirbfcoreimage=0x820000
qspiroot=/dev/mtdblock1
qspirootfstype=jffs2
ramboot=setenv bootargs console=ttyS0,115200 printk.time=1 debug mem=${fdt_high} lpj=3977216;fpgabr 1; bootz ${loadaddr} - ${fdtaddr}
rbfcoreimage=ghrd_10as066n2.core.rbf
rbftosdramaddr=0x40
scriptfile=u-boot.scr
set_initswstate=mw ${u-boot_swstate_reg} ${u-boot_image_valid}
setenv_ethaddr_eeprom=ffe03659
stderr=serial
stdin=serial
stdout=serial
u-boot_image_valid=0x49535756
u-boot_swstate_reg=0xffd0620c
verify=y

Environment size: 2635/4092 bytes

 

 

Thanks

0 Kudos
Aravind_18
Beginner
1,572 Views

Hi,

Sorry for the late reply.

I have flashed this same bootloader to many boards and was found working. only one board has this boot stuck issue.

I have attached the successful boot log and env settings.

 

0 Kudos
Reply