For those of you who purchased an Early Access Version of the HiFive Premier P550, you can now update your boards to Ubuntu 24.04. The image update guide is located here:
Hi, I have just flashed the ubuntu image and bootchain image to my p550 board accordingly.
I poweroff the board and removed my SD card after the process. Then I poweron the board but it wonβt boot into ubuntu.
I see following messages from the USB serial console:
[display init]Eswin UBooT DRM driver version: v1.0.1
In: serial,usbkbd
Out: vidconsole,seria1
Err:vidconsole,serial
Bootspi flash write protection enabled
Get som info from flashERROR: No valid SoM Board info
Cpu volatge need boost above 1.6 Ghz!
Could not find "root" partition
Low power features will not be supported!
Net:eth0:ethernet@50400000
Working FDT set to ed51c710
starting USB...
Bus usb1@50490000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb1@50490000 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
No SATA device found!
Hit any key to stop autoboot:0
Retrieving file:/extlinux/extlinux.conf
Error reading config file
I have to type βbootflow scanβ on the console in order to boot into ubuntu.
This is quite annoying to me. What should I do to make the process happen automatically?
It should be booting with EFI, not EXT_LINUX. You should end up in the GRUB menu. Hereβs what my boot looks like.
U-Boot 2024.01 (Nov 06 2024 - 05:26:46 +0000)
CPU: rv64imafdc_zba_zbb
Model: SiFive HiFive Premier P550
DRAM: 16 GiB
Core: 113 devices, 30 uclasses, devicetree: separate
Warning: Device tree includes old 'u-boot,dm-' tags: please fix by 2023.07!
MMC: sdhci@50450000: 0, sd@50460000: 1
Loading Environment from SPIFlash... SF: Detected w25q128fw with page size 256 B
*** Warning - bad CRC, using default environment
eswin_pcie_wait_link_up: error: wait linkup timeout
PCIE-0: Link up (Gen1-x1, Bus0)
[display_init]Eswin UBOOT DRM driver version: v1.0.1
In: serial,usbkbd
Out: vidconsole,serial
Err: vidconsole,serial
Bootspi flash write protection enabled
Get som info from flash
Cpu volatge need boost above 1.6 Ghz!
Could not find "root" partition
Low power features will not be supported!
Net: eth0: ethernet@50400000
Working FDT set to ed51c710
starting USB...
Bus usb1@50490000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb1@50490000 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
No SATA device found!
Hit any key to stop autoboot: 0
MMC: no card present
MMC: no card present
MMC: no card present
** Booting bootflow 'sdhci@50450000.bootdev.part_1' with efi
MMC: no card present
Booting /efi\boot\bootriscv64.efi
GNU GRUB version 2.12
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β*Ubuntu
β Advanced options for Ubuntu
Hi, Thanks for the reply! Yes, I think the boot process on your board is exactly what I want. But I donβt know how to fix it for my board. I think I followed the suggested image flash process well.
It seems you have an extlinux directory somewhere. EXTLINUX has priority over EFI (at least with older u-boot versions like the P550 has). Your boot directory should look like this. Just efi, dtbs and grub sub-directories.
You may want to copy and paste the full u-boot log from the very first line U-Boot 2024.01 (Nov 06 2024 - 05:26:46 +0000) so it can be better debugged. Also crosscheck your u-boot environment variables using env print . Hereβs what my board looks like:
Hi @fyang, Could you share the complete boot logs to help us better understand the issue youβre facing? Additionally, please try formatting the SD card using βfdiskβ and then create new partitions.
Hi @fyang
By default, the CPU operates at a frequency of 1.4 GHz. You can confirm this by running the following command: cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
Thanks. Yes, it says 1.4GHz. But why would we lock the CPU frequency at 1.4GHz? The ESWIN EIC7700X SoC manual says the CPU has working frequency of 1.4GHz, up to 1.8GHz.
1.3.2 Processor
β« RISC-V RV64GC 4core@1.4GHz, up to 1.8GHz
β« Private L1 Cache 32K(I)+32KB(D)οΌprivate L2Cache 256KBοΌshared L3 Cache 4MB