any prebuilt-sd card-image image available for HiFive Unleashed ?

Klaus Cucinauomo maciphone2 at googlemail.com
Sat Dec 12 02:35:34 UTC 2020


Hi Mitchell,

thanks, after I had rebased my chaotic ports-tree ;-) , your port has built fine.
Well, for now the best I can get out of uSD-boot with your port is :

— your port:------
U-Boot SPL 2020.10 (Dec 11 2020 - 22:20:01 +0000)
Trying to boot from MMC1
Unhandled UUnhanldd excleled excepti:on:n 
0EPrucnisntr Euct0i0o0n                   IPllegc0aln 
 RE  0P0C: 00000000:800200000 0R00A:# 000000000008 
                                                   000 7500#aP TV0AeL: 0000t0#00E0E000P00000r
### ERhROR ### Please RESET the board ###
—------------
with  boot jumper MSEL2 switched up(required to boot from u-boot)  .
Well, no FreeBSD-Kernel installed….only u-boot.

--
Compared to:
—   https://github.com/sifive/freedom-u-sdk ----
U-Boot SPL 2020.07 (Nov 20 2020 - 12:10:09 +0000)
Trying to boot from MMC1

U-Boot 2020.07 (Nov 20 2020 - 12:10:09 +0000)

CPU:   rv64imafdc
Model: SiFive HiFive Unleashed A00
DRAM:  8 GiB
MMC:   spi at 10050000:mmc at 0: 0
In:    serial at 10010000
Out:   serial at 10010000
Err:   serial at 10010000
Net:   eth0: ethernet at 10090000
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:3…
——….Boots into Linux…
—----------
well ,freedom-u-sdk  has a visible (msdos)- Partition which contains a dtb:
/ hifive-unleashed-a00.dtb / 
And a configuration file extlinux.conf:
default OpenEmbedded
label OpenEmbedded-SiFive-HiFive-Unleashed
   kernel /bbla.gz
   fdt /hifive-unleashed-a00.dtb
append root=/dev/mmcblk0p4 rootfstype=ext4 rootwait console=ttySIF0,115200 earlycon=sbi
—

This is the freedom-u-sdk partition table:
——— boots fine: ---
root at freebsd:/usr/local/share/u-boot/u-boot-sifive-fu540 # gpart show da2
=>      34  13918175  da2  GPT  (30G) [CORRUPT]
        34      2048    1  !5b193300-fc78-40cd-8002-e86c45580b47 (1.0M)
      2082      8192    2  !2e54b353-1271-4842-806f-e436d6af6985 (4.0M)
     10274      6110       - free -  (3.0M)
     16384    266240    3  ms-basic-data  (130M)
    282624      4096       - free -  (2.0M)
    286720  13631488    4  linux-data  (6.5G)
  13918208         1       - free -  (512B)

——

dd' ìng 
https://download.freebsd.org/ftp/snapshots/riscv/riscv64/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-riscv-riscv64-GENERICSD-20201210-7578a4862f0.img.xz
directly to uSD also shows / [CORRUPT] / from  # gpart show da2

well, at the moment I haven`t any further idea where to start hacking it but trying to dd 
/fw_dynamic.bin/  to the !2e54b353-1271-4842-806f-e436d6af6985 - partition in your port 
also didn`t succeed and no idea how I had to apply your port to the GENERICSD-20201210.

Do you have any further idea/instruction ?
Thanks 

Best Regards
 
Klaus


More information about the freebsd-riscv mailing list