Hello,
when I flash Ubuntu from the link you sent,
burn-tool -v rk -i edge2-ubuntu-24.04-gnome-linux-6.1-fenix-1.6.8-240605-emmc.img
I have the following partition table,
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00000040 0x00001fbf loader1
attrs: 0x0000000000000000
type: 67ad7741-4638-47c6-a488-d396583e582a
guid: fbd4486a-e42c-448d-d4e9-7f5c324a7843
2 0x00004000 0x00005fff uboot
attrs: 0x0000000000000000
type: 3adea03d-c612-46ed-cff9-b79439f11561
guid: bbaf4f47-230d-45b6-feae-e4b35f300b00
3 0x00006000 0x03a3dfbf rootfs
attrs: 0x0000000000000004
type: e582484a-9010-404a-899d-47bd16ba3fa8
guid: 614e0000-0000-4b53-8000-1d28000054a9
after flashing my image of U-boot,
rk-burn-tool -i Edge2_Uboot_EMMC_1.6.9.1-240920.img
I get the following partition table,
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00000040 0x00001fbf loader1
attrs: 0x0000000000000000
type: 67ad7741-4638-47c6-a488-d396583e582a
guid: fbd4486a-e42c-448d-d4e9-7f5c324a7843
2 0x00004000 0x0000bfff uboot
attrs: 0x0000000000000000
type: 3adea03d-c612-46ed-cff9-b79439f11561
guid: bbaf4f47-230d-45b6-feae-e4b35f300b00
3 0x0000c000 0x03a3dfbf rootfs
attrs: 0x0000000000000004
type: e582484a-9010-404a-899d-47bd16ba3fa8
guid: 614e0000-0000-4b53-8000-1d28000054a9
Also, I tried to ext4ls mmc 0:3 /
and I got,
- after burning ubuntu → the root directory
- after burning U-boot →
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
it seems like whenever I burn the U-boot image I overwrite the kernel. Did you flash an Ubuntu image from the link you sent or did you build it yourself ?
The U-boot image that I have built is ~9MiB, it seems too big.
the log its about the same as before,
U-Boot 2017.09 (Sep 20 2024 - 13:46:16 +0000)
Model: Khadas Edge2
MPIDR: 0x0
PreSerial: 2, raw, 0xfeb50000
DRAM: 8 GiB
Sysmem: init
Relocation Offset: eda08000
Relocation fdt: eb7f9c60 - eb7fece0
CR: M/C/I
Using default environment
optee api revision: 2.0
mmc@fe2c0000: 1, mmc@fe2e0000: 0
Bootdev(atags): mmc 0
MMC0: HS400 Enhanced Strobe, 200Mhz
PartType: EFI
TEEC: Waring: Could not find security partition
DM: v2
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
No misc partition
boot mode: None
FIT: No boot partition
Failed to load DTB, ret=-2
No valid DTB, ret=-22
Failed to get kernel dtb, ret=-22
gpio: pin 130 (gpio 130) value is 1
rk_board_init: No bus 6
Model: Khadas Edge2
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
b0pll 24000 KHz
b1pll 24000 KHz
lpll 24000 KHz
v0pll 24000 KHz
aupll 24000 KHz
cpll 1500000 KHz
gpll 1188000 KHz
npll 24000 KHz
ppll 100000 KHz
aclk_center_root 702000 KHz
pclk_center_root 100000 KHz
hclk_center_root 396000 KHz
aclk_center_low_root 500000 KHz
aclk_top_root 750000 KHz
pclk_top_root 100000 KHz
aclk_low_top_root 396000 KHz
Setting bus to 2
Failure changing bus number (-19)
No I2C bus selected
Error writing the chip: -19
gpio: pin 138 (gpio 138) value is 1
gpio: pin 139 (gpio 139) value is 0
gpio: pin 140 (gpio 140) value is 0
Net: No ethernet found.
Hit SPACE in 3 seconds to stop autoboot
kedge2# usb start
starting USB...
No working controllers found