Ubuntu on the VisionFive and the Nezha boards

login: ubuntu
password: ubuntu

Hi initd,

Sorry I missed your question: ubuntu-image is not (yet) the application we use to create such images, for now we use live-build.

Alex

Hi, I try the 22.04.1 image and the latest(6th Oct) image, but both are not bootable. The bootloader and DDR etc have been upgraded to the newest version. This is the boot log:

The boot log is here.

But when I try the Fedora image, it works well. The way is to use the boot parameters from the Fedora image, it works well even though there are errors. The boot log with parameters is here.

fdt_high=0xffffffffffffffff
initrd_high=0xffffffffffffffff

scriptaddr=0x88100000
script_offset_f=0x1fff000
script_size_f=0x1000

kernel_addr_r=0x80200000
kernel_comp_addr_r=0x90000000
kernel_comp_size=0x10000000

fdt_addr_r=0x88000000
ramdisk_addr_r=0x88300000

bootcmd_mmc0=devnum=0; run mmc_boot

Thanks.

On VisionFive board,
using Image: jammy-preinstalled-server-riscv64+visionfive.img,
Kernel: 5.17.0-1008-starfive

Attempting to install firefox
Output:
Package firefox is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Also tried procedure listed here:
https://linuxiac.com/install-firefox-from-deb-on-ubuntu-22-04-lts/

Still shows no valid target package. Any ideas?

There doesn’t seem to be any built-in method of starting a browser, that I can see. The link on the XFCE desktop doesn’t work.

looks like we’ll need to make sure the firefox snap gets built for this architecture, it is currently only created for amd64, arm64 and armhf …

1 Like

I seem to be having hardware compatibility issues with LicheeRV.
ubuntu can boot on my SanDisk 8GB SD card.
But it won’t boot on my EAGET 32G and DM 64G SD cards.

This is mentioned in the LicheeRV wiki: https://wiki.sipeed.com/hardware/zh/lichee/RV/flash.html

I’m not sure if it’s a brand or capacity issue with the SD card.
I logged SD info, please see: https://github.com/initdc/sd-info/tree/data/SD

Can others help to test it?

How’s VisionFive 2 going?

2 Likes

Hi everyone,

On linux when using the dd command on the preinstalled ubuntu image I get an invalid alternate GPT error with insufficient space (mSD 32GiB).

Command: xzcat ubuntu-22.04.1-preinstalled-server-riscv64+nezha.img.xz | sudo dd of=/dev/sdd bs=1M status=progress conv=fsync

Test on Nezha [output]:

[   12.280139] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset.
[   12.440651] <<-GTP-ERROR->> GTP i2c test failed time 5.
[   12.470622] I2C communication ERROR!
[   12.470657] regulator-dummy: Underflow of regulator enable count
[   12.486289] gt9xxnew_ts: probe of 2-0014 failed with error -1
[   15.020955] ======== XRADIO WIFI OPEN ========
[   15.030706] [XRADIO] Driver Label:XR_V02.16.84_P2P_HT40_01.31   
[   15.037456] [XRADIO] Allocated hw_priv @ 0000000095352fb0
[   15.061631] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[   15.087619] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[   15.510657] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[   15.521761] [XRADIO] Detect SDIO card 1
[   15.540719] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[   15.560636] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   15.603906] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   15.633660] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   15.671858] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[   15.700694] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[   15.720810] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[   15.751863] mmc1: new high speed SDIO card at address 0001
[   15.771187] [SBUS] XRadio Device:sdio clk=50000000
[   15.790719] [XRADIO] XRADIO_HW_REV 1.0 detected.
[   15.961271] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000.
[   16.113561] [XRADIO] Bootloader complete
[   16.270767] [XRADIO] Firmware completed.
[   16.282098] [WSM] Firmware Label:XR_C09.08.52.64_DBG_02.100 2GHZ HT40 Jan  3 2020 13:14:37
[   16.310702] [XRADIO] Firmware Startup Done.
[   16.321093] [XRADIO_WRN] enable Multi-Rx!
[   16.333125] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.390888] Error: Driver 'gt9xxnew_ts' is already registered, aborting...
[   17.118430] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=a0:ac:f8:86:57:31
[   17.140739] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=a0:ac:f8:86:57:31
[   17.179471] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
Trying to connect to SWUpdate...
[   35.680647] usb1-vbus: disabling

Edit:

Retry again and finnaly works (fix GPT with gdisk [p -> v -> w])

Hi,

Does anyone know what the timeline is for the Vision Five 2 image?

Thanks.

3 Likes

Would also love to know that. I’ve got my board ready to go, but I don’t want to go with another distro just to switch back in a short time.

1 Like

@alexghiti Was there any permanent solution found to the extremely slow GUI issue?

Also, does Ubuntu provide the scripts used to generate these images anywhere, if users wish to customize? The image as it is contains many heavy services that overwhelm this little board.