On 10/23/22 13:33, Denis Ovsienko wrote:
> Hello list.
>
> As it turns out, Canonical published an Ubuntu 22.04 disk image for
> Nezha D1 two months ago. I tried the image yesterday and noted the
> following:
>
> * The partition table is GPT and has a partition for U-Boot (unknown
> type) and GRUB (EFI), but not for the SPL.
> * The image auto-resizes to fit entire device.
> * GRUB reports version 2022.04.
> * It correctly detected my D1-1GB as D1-1GB (later disk images published
> by ISCAS had a problem with the RAM size nailed down to 2GB and
> crashed).
> * The kernel version after installing all updates is 5.17.0.
> * The RGB LED works.
> * Ethernet NIC works, but by default the MAC address is random every
> reboot.
> * Serial console works, but the boot process is organized in a way that
> looks a bit odd on the serial console, in that it starts in the
> usual verbose way, then sits quiet for one or two minutes before
> starting to print late service startup messages. In other words, out
> of the box all of the kernel output and some early services are not on
> the serial console.
Hello Denis,
thanks for sharing your test results.
Currently GRUB issues 'quiet splash' on the Linux command line. For more
output you want 'efi=debug earlycon'.
E.g. create file /etc/default/grub.d/cmdline.cfg (it must have cfg
ending) with content:
# Booting on many riscv64 systems is slow. Let the user view progress.
# For minimum output use
# GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="efi=debug earlycon"
Then run update-grub.
You could open a bug report for package livecd-rootfs on launchpad to
have this changed.
> * Onboard flash is available as one unstructured MTD.
Ubuntu does not use the flash storage. Do you see any necessity for a
change here?
> * GCC 11 is available and works.
> * Clang 14 is available, but is broken (dumps core due to an illegal
> instruction).
Please, report a bug on
https://launchpad.net indicating how to
reproduce the issue.
Best regards
Heinrich