Project

General

Profile

How to boot FPGA from U-Boot without having the uboot.env... » console_uboot_env.txt

Shahad Alrawi, 10/20/2023 12:09 PM

 
1

    
2
U-Boot SPL 2019.10-g964a62232a-dirty (Oct 06 2023 - 18:09:56 +0200)
3
DDRCAL: Scrubbing ECC RAM (1024 MiB).
4
DDRCAL: SDRAM-ECC initialized success with 608 ms
5
MPU           800000 kHz
6
DDR           400000 kHz
7
EOSC1          25000 kHz
8
EOSC2          25000 kHz
9
F2S_SDR_REF        0 kHz
10
F2S_PER_REF        0 kHz
11
MMC            50000 kHz
12
QSPI          400000 kHz
13
UART          100000 kHz
14
SPI           200000 kHz
15
Trying to boot from MMC1
16

    
17

    
18
U-Boot 2019.10-g964a62232a-dirty (Oct 06 2023 - 18:09:56 +0200) Critical Link MitySOM-5CSx
19

    
20
CPU:   Altera SoCFPGA Platform
21
FPGA:  Altera Cyclone V, SE/A6 or SX/C6 or ST/D6, version 0x0
22
BOOT:  SD/MMC Internal Transceiver (3.0V)
23
Model: MitySOM-5CSX-H6-42A Altera SOCFPGA Cyclone V
24
BOARD: Critical Link MitySOM-5CSx Module
25
       Watchdog enabled
26
DRAM:  1 GiB
27
MMC:   dwmmc0@ff704000: 0
28
Loading Environment from MMC... *** Warning - bad CRC, using default environment
29

    
30
In:    serial
31
Out:   serial
32
Err:   serial
33
eeprom_rw_block: Cannot find udev for a bus 0
34
Error - Failure reading Factory Configuration Version Info
35
Error - Factory Configuration Invalid
36
Info - You must set the factory configuration to make permanent
37
Info - Setting configuration to defaults
38
Info - Didn't find block
39
Info - Didn't find block
40
Bad I2C configuration found
41
Net:
42
Warning: ethernet@ff702000 (eth0) using random MAC address - f2:ac:3e:3f:42:73
43
eth0: ethernet@ff702000
44
Hit any key to stop autoboot:  0
45
MitySOM-5CSx # printenv
46
arch=arm
47
baudrate=115200
48
board=mitysom-5cs
49
board_name=mitysom-5cs
50
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
51
boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontroladdr};fi;load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootarm.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
52
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
53
boot_net_usb_start=usb start
54
boot_prefixes=/ /boot/
55
boot_script_dhcp=boot.scr.uimg
56
boot_scripts=boot.scr.uimg boot.scr
57
boot_syslinux_conf=extlinux/extlinux.conf
58
boot_targets=mmc0 qspi pxe dhcp
59
bootcmd=run fatscript; bridge enable; run distro_bootcmd
60
bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00010:UNDI:003000;setenv bootp_arch 0xa;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci;
61
bootcmd_mmc0=devnum=0; run mmc_boot
62
bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
63
bootcmd_qspi=run qspiload; run qspiboot
64
bootdelay=2
65
bootm_size=0xa000000
66
bootmode=sd
67
cpu=armv7
68
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
69
efi_dtb_prefixes=/ /dtb/ /dtb/current/
70
fatscript=if fatload mmc 0:1 ${scriptaddr} ${scriptfile};then source ${scriptaddr}; fi
71
fdt_addr_r=0x02000000
72
fdt_size=0x00010000
73
fdtcontroladdr=3bf5b740
74
fdtfile=socfpga_mitysom5csx_devkit.dtb
75
fpgatype=cv_se_a6
76
kernel_addr_r=0x01000000
77
kernel_size=0x005d0000
78
load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
79
loadaddr=0x01000000
80
mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi
81
prog_core=if load mmc 0:1 ${loadaddr} fit_spl_fpga.itb;then fpga loadmk 0 ${loadaddr}:fpga-core-1; fi
82
pxefile_addr_r=0x02200000
83
qspi_fdt_addr=0x00220000
84
qspi_kernel_addr=0x00230000
85
qspiboot=setenv bootargs earlycon root=/dev/mtdblock1 rw rootfstype=jffs2; bootz ${kernel_addr_r} - ${fdt_addr_r}
86
qspiload=sf probe; sf read ${kernel_addr_r} ${qspi_kernel_addr} ${kernel_size}; sf read ${fdt_addr_r} ${qspi_fdt_addr} ${fdt_size}
87
ramdisk_addr_r=0x02300000
88
rtccal=0
89
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
90
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done; setenv devplist
91
scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootarm.efi; then echo Found EFI removable media binary efi/boot/bootarm.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile
92
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
93
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
94
scriptaddr=0x02100000
95
scriptfile=u-boot.scr
96
soc=socfpga
97
socfpga_legacy_reset_compat=1
98
stderr=serial
99
stdin=serial
100
stdout=serial
101
usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi
102
vendor=cl
103
ver=U-Boot 2019.10-g964a62232a-dirty (Oct 06 2023 - 18:09:56 +0200) Critical Link MitySOM-5CSx
(2-2/2) Go to top
Add picture from clipboard (Maximum size: 1 GB)