I am trying to run Ubuntu 22.04 on the Edge1 and have made the eMMC-image using Fenix. However, when I boot I get an error stating that the filesystem size is wrong and that the superblock is likely to be corrupt. I tried to install the same image using oowow and it states that the image is not suitable for edge (even if it is named edge). Anybody got some tips on how to get Ubuntu 22.04 running on the Edge1?
Thanks.
See console output below.
U-Boot 2017.09 (Nov 10 2022 - 13:37:42 +0100)
Model: Khadas Edge
PreSerial: 2
DRAM: 3.8 GiB
Sysmem: init
Relocation Offset: f5bd3000, fdt: f3dbbc68
I2c4 speed: 400000Hz
PMIC: RK808
vdd_center 900000 uV
vdd_cpu_l 900000 uV
vdd_log init 950000 uV
MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0
Using default environment
Model: Khadas Edge
Bootdev(atags): mmc 0
MMC0: HS400, 150Mhz
PartType: EFI
SARADC: 1023
boot mode: None
512 bytes read in 159 ms (2.9 KiB/s)
1080138 bytes read in 167 ms (6.2 MiB/s)
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
Detailed mode clock 120000 kHz, flags[a]
H: 1080 1184 1188 1315
V: 1920 1924 1926 1929
bus_format: 100e
final DSI-Link bandwidth: 996 Mbps x 4
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 24000 KHz, init 24000 KHz, kernel 0N/A)
aplll 816000 KHz
apllb 24000 KHz
dpll 856000 KHz
cpll 24000 KHz
gpll 800000 KHz
npll 600000 KHz
vpll 120000 KHz
aclk_perihp 133333 KHz
hclk_perihp 66666 KHz
pclk_perihp 33333 KHz
aclk_perilp0 266666 KHz
hclk_perilp0 88888 KHz
pclk_perilp0 44444 KHz
hclk_perilp1 100000 KHz
pclk_perilp1 50000 KHz
Net: eth0: ethernet@fe300000
Setting bus to 8
I2c8 speed: 100000Hz
normal power on
boot wol: disable
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
mmc_init: -95, time 9
switch to partitions #0, OK
mmc0(part 0) is current device
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Scanning mmc 0:7...
Found U-Boot script /boot/boot.scr
6225 bytes read in 49 ms (124 KiB/s)
## Executing script at 00500000
Run Khadas boot script
board type = Edge-V (2)
Uboot loaded from eMMC.
1350 bytes read in 53 ms (24.4 KiB/s)
Import env.txt
DTB: /boot/dtb/rk3399-khadas-edgev-linux.dtb
mac address: c8:63:14:70:42:96
Scanning mmc 0:6...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Scanning mmc 0:7...
7978939 bytes read in 134 ms (56.8 MiB/s)
20154376 bytes read in 203 ms (94.7 MiB/s)
98856 bytes read in 70 ms (1.3 MiB/s)
Apply dtbo i2c2
223 bytes read in 80 ms (2 KiB/s)
Apply dtbo spi3
223 bytes read in 87 ms (2 KiB/s)
Apply dtbo i2s0
223 bytes read in 82 ms (2 KiB/s)
Apply dtbo onewire
226 bytes read in 84 ms (2 KiB/s)
## Loading init Ramdisk from Legacy Image at 0a200000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 7978875 Bytes = 7.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 08300000
Booting using the fdt blob at 0x8300000
reserving fdt memory region: addr=8300000 size=7e000
'reserved-memory' region@110000: addr=110000 size=f0000
Loading Ramdisk to f361c000, end f3db7f7b ... OK
Loading Device Tree to 00000000f359b000, end 00000000f361bfff ... OK
512 bytes read in 159 ms (2.9 KiB/s)
1080138 bytes read in 167 ms (6.2 MiB/s)
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x0a200000 - 0xf8000000 (size: 0xede00000)
Total: 4834.423 ms
Starting kernel ...
[ 1.685193] rk-vcodec ff650000.vpu_service: could not find power_model node
[ 1.687115] rk-vcodec ff660000.rkvdec: could not find power_model node
[ 1.700630] mali ff9a0000.gpu: Failed to get regulator
[ 1.701091] mali ff9a0000.gpu: Power control initialization failed
[ 1.712839] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[ 1.865579] rockchip-dwc3 usb0: failed to get drvdata dwc3
[ 1.871058] rockchip-dwc3 usb1: fail to get drvdata hcd
[ 1.959781] rockchip-pinctrl pinctrl: pin gpio1-18 already requested by ff350000.spi; cannot claim for 4-001b
[ 1.960660] rockchip-pinctrl pinctrl: pin-50 (4-001b) status -22
[ 1.961201] rockchip-pinctrl pinctrl: could not request pin 50 (gpio1-18) from group pmic-dvs2 on device rockchip-pinctrl
[ 1.962171] rk808 4-001b: Error applying setting, reverse things back
[ 3.538882] cw201x 8-0062: design_capacity missing!
[ 3.539511] cw_bat_probe cw_init error
[ 3.540912] bq25700-charger 8-006b: Cannot read chip ID.
[ 3.546059] rk_tsadcv2_temp_to_code: Invalid conversion table: code=1023, temperature=2147483647
[ 3.579094] cpu cpu0: failed to find power_model node
[ 3.583044] cpu cpu4: failed to find power_model node
[ 3.588335] vccio_sd: unsupportable voltage range: 3300000-3000000uV
[ 3.651376] rockchip-dmc dmc: unable to get devfreq-event device : dfi
[ 3.667214] Error: Driver 'ov4689' is already registered, aborting...
[ 3.667799] Error: Driver 'ov7750' is already registered, aborting...
[ 3.668378] Error: Driver 'ov13850' is already registered, aborting...
[ 3.669149] Error: Driver 'sc031gs' is already registered, aborting...
[ 3.678282] zswap: default zpool zbud not available
[ 3.678743] zswap: pool creation failed
[ 3.688355] rockchip-vop ff900000.vop: missing rockchip,grf property
[ 3.689230] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[ 3.690493] i2c i2c-9: of_i2c: modalias failure on /hdmi@ff940000/ports
[ 3.694058] i2c i2c-10: of_i2c: modalias failure on /dp@fec00000/ports
[ 3.695782] rockchip-drm display-subsystem: connector[HDMI-A-1] can't found any modes
[ 3.696548] rockchip-drm display-subsystem: failed to show loader logo
[ 3.886050] rockchip-dmc dmc: Failed to get leakage
[ 3.886791] rockchip-dmc dmc: Failed to get pvtm
[ 3.887917] rockchip-dmc dmc: failed to get vop pn to msch rl
[ 3.889021] rockchip-dmc dmc: could not find power_model node
[ 3.894495] rk-hdmi-dp-sound hdmi-dp-sound: control 3:0:0:ELD:0 is already present
[ 3.895285] hdmi-audio-codec hdmi-audio-codec.7.auto: ASoC: Failed to add ELD: -16
ROOTFS: The filesystem size (according to the superblock) is 30501883 blocks
The physical size of the device is 30501880 blocks
Either the superblock or the partition table is likely to be corrupt!
ROOTFS: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/mmcblk1p7 requires a manual fsck
BusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu6.4) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
I tried installing the image on an SD-card and then it boots. Then I tried to run sudo emmc-install. After removing the SD-card the edge1 bootlooped for about 7-10 times before successfully booting,
I was using a Crucial P2 500 GB NVME SSD (Crucial P2 500GB PCIe M.2 2280 SSD | CT500P2SSD8 | Crucial.com). This has worked fine with the Edge-V before. I tried it as it was (as it was when it was working with focal on the Edge-V) and I tried formatting it but had the same issue.
I switched to a Samsing EVO 970 Plus now and that works fine.