Hi. I do all steps about kernel building, android building and flashing with fastboot. But I am getting error during booting android. It gives failed to boot Android but before it it tries musch more time open kernel and it becomes fail then gives this error message. What is wrong do not know.
@metin_duman
Hello, are you using the image I provided? Did you execute the last step below?
setenv force_avb 1
saveenv
Are there any errors during the burning process?
I did " setenv force_avb 1
saveenv " And the terminal result is;
=> setenv force_avb 1
=> saveenv
Saving Environment to MMC... Writing to MMC(2)... OK
=> reboot
Unknown command 'reboot' - try 'help'
=> restart
Unknown command 'restart' - try 'help'
=> G12B:BL:6e7c85:2a3b91;FEAT:E0F83180:402000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;0.
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02
L0:00000000
L1:20000703
L2:00008067
L3:14000000
B2:00402000
B1:e0f83180
TE: 222331
BL2 Built : 16:01:39, May 25 2020. g12b gb6bfa83 - gongwei.chen@droid11-sz
Board ID = 6
Set A53 clk to 24M
Set A73 clk to 24M
Set clk81 to 24M
A53 clk: 1200 MHz
A73 clk: 1200 MHz
CLK81: 166.6M
smccc: 0003ad60
eMMC boot @ 1
sw8 s
board id: 6
Load FIP HDR DDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 1
Get wrong ddr fw magic! Error!!
fw parse done
PIEI prepare done
ddr saved addr:00016000
Load ddr parameter from eMMC, src: 0x02c00000, des: 0xfffd0000, size: 0x00001000, part: 0
00000000
emmc switch 0 ok
fastboot data verify
result: 255
Cfg max: 12, cur: 1. Board id: 255. Force loop cfg
LPDDR4 probe
LPDDR4_PHY_V_0_1_22-Built : 16:01:44, May 25 2020. g12b gb6bfa83 - gongwei.chen@droid11-sz
ddr clk to 1608MHz
00000000
emmc switch 1 ok
dmc_version 0001
Check phy result
INFO : End of CA training
INFO : End of initialization
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of read dq deskew training
INFO : End of MPR read delay center optimization
INFO : End of Write leveling coarse delay
INFO : End of read delay center optimization
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : End of MPR read delay center optimization
INFO : End of write delay center optimization
INFO : End of read delay center optimization
INFO : End of max read latency training
INFO : Training has run successfully!
1D training succeed
Check phy result
INFO : End of initialization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : Training has run successfully!
soc_vref_reg_value 0x 00000025 00000027 00000027 00000027 00000026 00000028 00000026 00000027 00000026 00000029 00000027 00000028
dram_vref_reg_value 0x 00000014
2D training succeed
auto size-- 65535DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00e00024DDR size: 3928MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass
non-sec scramble use zero key
ddr scramble enabled
100bdlr_step_size ps== 414
result report
boot times 0Enable ddr reg access
00000000
emmc switch 3 ok
Authentication key not yet programmed
get rpmb counter error 0x00000007
00000000
emmc switch 1 ok
Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 1
Load BL3X from eMMC, src: 0x00078200, des: 0x01768000, size: 0x000c0c00, part: 1
0.0;M3 CHK:0;cm4_sp_mode 0
[Image: g12b_v1.1.3394-7d43064d5 2020-05-07 15:37:11 gongwei.chen@droid11-sz]
OPS=0x10
ring efuse init
chipver efuse init
29 0b 10 00 01 07 0d 00 00 08 31 36 39 4e 4e 50
[0.016083 Inits done]
secure task start!
high task start!
low task start!
run into bl31
NOTICE: BL31: v1.3(release):d9e1bbe85
NOTICE: BL31: Built : 19:07:43, Sep 7 2020
NOTICE: BL31: G12A normal boot!
NOTICE: BL31: BL33 decompress pass
ERROR: Error initializing runtime service opteed_fast
<debug_uart>
U-Boot 2024.01-rc1-18687-g1aa26a76a4e7 (Feb 15 2024 - 18:39:08 +0100) khadas-vim3
Model: Khadas VIM3
SoC: Amlogic Meson G12B (A311D) Revision 29:b (10:2)
DRAM: 2 GiB (effective 3.8 GiB)
Core: 410 devices, 36 uclasses, devicetree: separate
MMC: sd@ffe03000: 0, sd@ffe05000: 1, mmc@ffe07000: 2
Loading Environment from MMC... OK
In: usbkbd,serial
Out: vidconsole,serial
Err: vidconsole,serial
Net: eth0: ethernet@ff3f0000
Hit any key to stop autoboot: 0
Verify GPT: success!
dev: pinctrl@14
dev: pinctrl@40
gpio: pin 88 (gpio 88) value is 1
syntax error
Loading Android boot partition...
switch to partitions #0, OK
mmc2(part 0) is current device
misc partition number:0x2
Android boot failed, error -22.
A/B cmdline addition: androidboot.slot_suffix=_
## Android Verified Boot 2.0 version 1.1.0
read_is_device_unlocked not supported yet
Can't find partition 'vbmeta_'
Can't find partition 'boot_'
avb_slot_verify.c:638: ERROR: boot_: Error loading footer.
I/O error occurred during verification
AVB verification failed.
mmc - MMC sub system
Usage:
mmc info - display info of the current MMC device
mmc read addr blk# cnt
mmc write addr blk# cnt
mmc erase blk# cnt
mmc rescan [mode]
mmc part - lists available partition on current mmc device
mmc dev [dev] [part] [mode] - show or set current mmc device [partition] and set mode
- the required speed mode is passed as the index from the following list
[MMC_LEGACY, MMC_HS, SD_HS, MMC_HS_52, MMC_DDR_52, UHS_SDR12, UHS_SDR25,
UHS_SDR50, UHS_DDR50, UHS_SDR104, MMC_HS_200, MMC_HS_400, MMC_HS_400_ES]
mmc list - lists available devices
mmc wp [PART] - power on write protect boot partitions
arguments:
PART - [0|1]
: 0 - first boot partition, 1 - second boot partition
if not assigned, write protect all boot partitions
mmc hwpartition <USER> <GP> <MODE> - does hardware partitioning
arguments (sizes in 512-byte blocks):
USER - <user> <enh> <start> <cnt> <wrrel> <{on|off}>
: sets user data area attributes
GP - <{gp1|gp2|gp3|gp4}> <cnt> <enh> <wrrel> <{on|off}>
: general purpose partition
MODE - <{check|set|complete}>
: mode, complete set partitioning completed
WARNING: Partitioning is a write-once setting once it is set to complete.
Power cycling is required to initialize partitions after set to complete.
mmc setdsr <value> - set DSR register value
Failed to boot Android...
crq->brequest:0x0
I will try your image but I have some questions;
- At fastboot flashing process we are using
fastboot flash bootloader u-boot_kvim3_ab.bin
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash super super.img
fastboot flash userdata userdata.img
fastboot flash userdata userdata.img
fastboot flash dtbo_a dtbo-unsigned.img
fastboot flash dtbo_b dtbo-unsigned.img
When I check the 20241220-vim3-tablet-aosp-main.tar.gz I saw some extra files;
How can I use them and how?
You only need the image in the command, and donât worry about the others.
fastboot flash boot_a boot.img && fastboot flash boot_b boot.img && fastboot flash super super.img && fastboot flash userdata userdata.img && fastboot flash dtbo_a dtbo-unsigned.img && fastboot flash dtbo_b dtbo-unsigned.img && fastboot erase misc && fastboot erase frp && fastboot format metadata && fastboot reboot
I used 20241220-vim3-tablet-aosp-main.tar.gz with sample fastboot flash command and now it is working. But i wan tto compile AOSP 14 that is used for VIM3 and bun flash to test. :I saw a manifest file. So I think it is used for AOSP init repo for your img. Can I use this manifest as
ârepo init -u platform/manifest - Git at Google -b main -m custom.xmlâ
@metin_duman
I donât quite understand your needs, could you describe it in detail?
20241220-vim3-tablet-aosp-main.tar.gz contains a manifest.xml file. And I think this is used for AOSP repo init. I am asking that how can I use this manifest to init repo of AOSP ? It could be repo init -u ⊠-b main -m custom.xml . Am I right? Because in this tar file there are some fastboot flash files to update AOSP on board and it is working and I think you used this manifest.xml to generate these files.
@metin_duman
20241220-vim3-tablet-aosp-maain.xml is only used to manage the code, which means that this xml can be used as a marker point to pull the code of this marker point and it can be used normally
@xiong.zhang I used this manifest and sync the repo. Now check the size of repo it shows 840GB and 1 job is waiting now to load. Is it normal directory size for AOSP? What should the normal AOSP directory size be? Can I use repo init -u BayLibre / amlogic / Android TV / aosp / manifest · GitLab -b yukawa-android-14 . What is the difference between this repo and yours?
@metin_duman
Hello, BayLibreâs code should be for debugging. Please pull the code as I provided above.
@xiong.zhang why I am getting this error?
read_is_device_unlocked not supported yet
avb_vbmeta_image.c:46: ERROR: Magic is incorrect.
avb_slot_verify.c:745: ERROR: vbmeta_b: Error verifying vbmeta image: invalid vbmeta header
Corrupted dm-verity metadata detected
AVB verification failed.
Running Android...
## Booting Android Image at 0x01080000 ...
Kernel load addr 0x11080000 size 19548 KiB
Kernel command line: no_console_suspend console=ttyAML0,115200 earlycon printk.devkmsg=on androidboot.boot_devie
RAM disk load addr 0x02397800 size 14912 KiB
## Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x1000000
Working FDT set to 1000000
Uncompressing Kernel Image
Loading Ramdisk to 7f170000, end 7ffffce5 ... OK
Loading Device Tree to 000000007f156000, end 000000007f16ffff ... OK
Working FDT set to 7f156000
Starting kernel ...
[ 0.254760] CPU: All CPU(s) started at EL2
[ 0.258833] alternatives: applying system-wide alternatives
[ 0.269594] devtmpfs: initialized
[ 0.278236] Registered cp15_barrier emulation handler
[ 0.278277] Registered setend emulation handler
[ 0.282295] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.291813] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 0.302293] pinctrl core: initialized pinctrl subsystem
[ 0.304381] DMI not present or invalid.
[ 0.308132] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.314761] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.320911] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.328410] audit: initializing netlink subsys (disabled)
[ 0.333854] audit: type=2000 audit(0.232:1): state=initialized audit_enabled=0 res=1
[ 0.334111] thermal_sys: Registered thermal governor 'step_wise'
[ 0.341403] thermal_sys: Registered thermal governor 'user_space'
[ 0.347379] cpuidle: using governor ladder
[ 0.357454] cpuidle: using governor menu
[ 0.361480] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.368188] ASID allocator initialised with 65536 entries
[ 0.373506] Serial: AMBA PL011 UART driver
[ 0.378256] printk: console [ramoops-1] enabled
[ 0.382105] pstore: Registered ramoops as persistent store backend
[ 0.388065] ramoops: using 0x100000@0xd000000, ecc: 0
[ 0.408661] platform ff900000.vpu: Fixing up cyclic dependency with ff600000.hdmi-tx
[ 0.419046] platform hdmi-connector: Fixing up cyclic dependency with ff600000.hdmi-tx
[ 0.422557] KASLR enabled
[ 0.433303] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.434444] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.441010] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.447731] HugeTLB: 508 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.454112] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.460837] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.467134] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.473860] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.548843] raid6: neonx8 gen() 3038 MB/s
[ 0.616939] raid6: neonx4 gen() 3096 MB/s
[ 0.685047] raid6: neonx2 gen() 2309 MB/s
[ 0.753152] raid6: neonx1 gen() 1787 MB/s
[ 0.821252] raid6: int64x8 gen() 1364 MB/s
[ 0.889369] raid6: int64x4 gen() 1465 MB/s
[ 0.957483] raid6: int64x2 gen() 1312 MB/s
[ 1.025568] raid6: int64x1 gen() 1089 MB/s
[ 1.025590] raid6: using algorithm neonx4 gen() 3096 MB/s
[ 1.093670] raid6: .... xor() 2294 MB/s, rmw enabled
[ 1.093696] raid6: using neon recovery algorithm
[ 1.098488] iommu: Default domain type: Translated
[ 1.102406] iommu: DMA domain TLB invalidation policy: strict mode
[ 1.108909] SCSI subsystem initialized
[ 1.112477] usbcore: registered new interface driver usbfs
[ 1.117787] usbcore: registered new interface driver hub
[ 1.123040] usbcore: registered new device driver usb
[ 1.128222] mc: Linux media interface: v0.10
[ 1.132261] videodev: Linux video capture interface: v2.00
[ 1.137740] pps_core: LinuxPPS API ver. 1 registered
[ 1.142594] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.151656] PTP clock support registered
[ 1.155685] EDAC MC: Ver: 3.0.0
[ 1.159200] Advanced Linux Sound Architecture Driver Initialized.
[ 1.165005] Bluetooth: Core ver 2.22
[ 1.168225] NET: Registered PF_BLUETOOTH protocol family
[ 1.173474] Bluetooth: HCI device and connection manager initialized
[ 1.179771] Bluetooth: HCI socket layer initialized
[ 1.184599] Bluetooth: L2CAP socket layer initialized
[ 1.189609] Bluetooth: SCO socket layer initialized
[ 1.194497] NetLabel: Initializing
[ 1.197788] NetLabel: domain hash size = 128
[ 1.202106] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 1.207745] NetLabel: unlabeled traffic allowed by default
[ 1.213702] clocksource: Switched to clocksource arch_sys_counter
[ 1.219539] VFS: Disk quotas dquot_6.6.0
[ 1.223210] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.231092] NET: Registered PF_INET protocol family
[ 1.235052] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 1.244897] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 1.250673] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.258292] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 1.266261] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 1.273833] TCP: Hash tables configured (established 32768 bind 32768)
[ 1.280024] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 1.286592] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 1.293801] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.299828] Trying to unpack rootfs image as initramfs...
[ 1.305092] kvm [1]: IPA Size Limit: 40 bits
[ 1.310224] kvm [1]: vgic interrupt IRQ9
[ 1.312835] kvm [1]: Hyp mode initialized successfully
[ 1.319100] Initialise system trusted keyrings
[ 1.322374] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 1.333617] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.334773] ntfs: driver 2.1.32 [Flags: R/O].
[ 1.338796] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 1.346154] fuse: init (API version 7.37)
[ 1.350060] 9p: Installing v9fs 9p2000 file system support
[ 1.387651] xor: measuring software checksum speed
[ 1.390003] 8regs : 4271 MB/sec
[ 1.393389] 32regs : 4399 MB/sec
[ 1.398673] arm64_neon : 3065 MB/sec
[ 1.399751] xor: using function: 32regs (4399 MB/sec)
[ 1.404766] Key type asymmetric registered
[ 1.408815] Asymmetric key parser 'x509' registered
[ 1.413728] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 241)
[ 1.420984] io scheduler mq-deadline registered
[ 1.425462] io scheduler kyber registered
[ 1.429612] io scheduler bfq registered
[ 1.433724] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized
[ 1.452843] soc soc0: Amlogic Meson G12B (A311D) Revision 29:b (10:2) Detected
[ 1.456836] Serial: 8250O 1.462382] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 14, base_baud = 15t
[ 1.471711] printk: console [ttyAML0] enabled
[ 1.471711] printk: console [ttyAML0] enabled
[ 1.474754] printk: bootconsole [meson0] disabled
[ 1.474754] printk: bootconsole [meson0] disabled
[ 1.484770] ffd22000.serial: ttyAML6 at MMIO 0xffd22000 (irq = 15, base_baud = 1500000) is a meson_uart
[ 1.494029] ffd24000.serial: ttyAML7 at MMIO 0xffd24000 (irq = 16, base_baud = 1500000) is a meson_uart
[ 1.502823] serial serial0: tty port ttyAML7 registered
[ 1.511560] mali ffe40000.gpu: Continuing without Mali regulator control
[ 1.518172] mali ffe40000.gpu: GPU identified as 0x2 arch 7.2.1 r0p0 status 0
[ 1.521808] mali ffe40000.gpu: Disable DMA coherency and set system coherency to ACE_LITE
[ 1.530162] mali ffe40000.gpu: Couldn't find power_model DT node matching 'arm,mali-simple-power-model'
[ 1.539030] mali ffe40000.gpu: Error -22, no DT entry: mali-simple-power-model.static-coefficient = 1*[0]
[ 1.548564] mali ffe40000.gpu: Error -22, no DT entry: mali-simple-power-model.dynamic-coefficient = 1*[0]
[ 1.558127] mali ffe40000.gpu: Error -22, no DT entry: mali-simple-power-model.ts = 4*[0]
[ 1.566241] mali ffe40000.gpu: Error -22, no DT entry: mali-simple-power-model.thermal-zone = ''
[ 1.574978] mali ffe40000.gpu: Couldn't find power_model DT node matching 'arm,mali-g52-power-model'
[ 1.584611] mali ffe40000.gpu: Using configured power model mali-g52-power-model, and fallback mali-simple-pl
[ 1.595208] mali ffe40000.gpu: Probed as mali0
[ 1.605809] brd: module loaded
[ 1.610981] loop: module loaded
[ 1.627506] zram: Added device: zram0
[ 1.628860] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.634016] devfreq ffe40000.gpu: Couldn't update frequency transition information.
[ 1.634712] tun: Universal TUN/TAP device driver, 1.6
[ 1.645404] PPP generic driver version 2.4.2
[ 1.648894] PPP BSD Compression module registered
[ 1.653419] PPP Deflate Compression module registered
[ 1.658434] PPP MPPE Compression module registered
[ 1.663159] NET: Registered PF_PPPOX protocol family
[ 1.668094] PPTP driver version 0.8.5
[ 1.671992] pegasus: Pegasus/Pegasus II USB Ethernet driver
[ 1.677277] usbcore: registered new interface driver pegasus
[ 1.682866] usbcore: registered new interface driver rtl8150
[ 1.688464] usbcore: registered new interface driver r8152
[ 1.693901] usbcore: registered new interface driver asix
[ 1.699264] usbcore: registered new interface driver ax88179_178a
[ 1.705294] usbcore: registered new interface driver cdc_ether
[ 1.711116] usbcore: registered new interface driver dm9601
[ 1.716609] usbcore: registered new interface driver CoreChips
[ 1.722378] usbcore: registered new interface driver smsc75xx
[ 1.728062] usbcore: registered new interface driver smsc95xx
[ 1.733754] usbcore: registered new interface driver net1080
[ 1.739352] usbcore: registered new interface driver plusb
[ 1.744789] usbcore: registered new interface driver cdc_subset
[ 1.750665] usbcore: registered new interface driver zaurus
[ 1.756180] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 1.763526] usbcore: registered new interface driver cdc_ncm
[ 1.769123] usbcore: registered new interface driver r8153_ecm
[ 1.775203] VFIO - User Level meta-driver version: 0.3
[ 1.781741] usbcore: registered new interface driver cdc_acm
[ 1.785541] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.793544] usbcore: registered new interface driver usb-storage
[ 1.800674] gadgetfs: USB Gadget filesystem, version 24 Aug 2004
[ 1.805577] mousedev: PS/2 mouse device common for all mice
[ 1.811578] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[ 1.819144] usbcore: registered new interface driver xpad
[ 1.824220] usbcore: registered new interface driver usb_acecad
[ 1.830023] usbcore: registered new interface driver aiptek
[ 1.835538] usbcore: registered new interface driver hanwang
[ 1.841146] usbcore: registered new interface driver kbtab
[ 1.847439] meson-vrtc ff8000a8.rtc: registered as rtc1
[ 1.851983] i2c_dev: i2c /dev entries driver
[ 1.857602] ir_imon_decoder: IR iMON protocol handler initialized
[ 1.860624] Freeing initrd memory: 14908K
[ 1.861973] IR JVC protocol handler initialized
[ 1.861976] IR MCE Keyboard/mouse protocol handler initialized
[ 1.861978] IR NEC protocol handler initialized
[ 1.861981] IR RC5(x/sz) protocol handler initialized
[ 1.885686] IR RC6 protocol handler initialized
[ 1.890165] IR SANYO protocol handler initialized
[ 1.894822] IR Sharp protocol handler initialized
[ 1.899479] IR Sony protocol handler initialized
[ 1.904051] IR XMP protocol handler initialized
[ 1.909357] rc_core: Couldn't load IR keymap rc-khadas
[ 1.913637] Registered IR keymap rc-empty
[ 1.917654] rc rc0: meson-ir as /devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0
[ 1.925513] rc rc0: lirc_dev: driver meson-ir registered at minor = 0, raw IR receiver, no transmitter
[ 1.934690] input: meson-ir as /devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0/input1
[ 1.943172] meson-ir ff808000.ir: receiver initialized
[ 1.948633] debugfs: Directory 'ff800280.cec' with parent 'regmap' already present!
[ 1.956199] gspca_main: v2.14.0 registered
[ 1.959683] usbcore: registered new interface driver uvcvideo
[ 1.968367] device-mapper: uevent: version 1.0.3
[ 1.970101] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[ 1.978421] Bluetooth: HCI UART driver ver 2.3
[ 1.982640] Bluetooth: HCI UART protocol H4 registered
[ 1.987740] Bluetooth: HCI UART protocol LL registered
[ 1.992893] Bluetooth: HCI UART protocol Broadcom registered
[ 1.993029] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[ 1.998458] usbcore: registered new interface driver btusb
[ 2.005864] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[ 2.015339] cpufreq: cpufreq_online: CPU2: Running at unlisted initial frequency: 999999 KHz, changing to: 1z
[ 2.031893] meson-gx-mmc ffe05000.sd: Got CD GPIO
[ 2.034533] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.039963] meson-sm: secure-monitor enabled
[ 2.044134] hid: raw HID events driver (C) Jiri Kosina
[ 2.050424] usbcore: registered new interface driver usbhid
[ 2.054643] usbhid: USB HID core driver
[ 2.059271] ashmem: initialized
[ 2.061552] nanohub: loaded; ret=0
[ 2.065728] usbcore: registered new interface driver snd-usb-audio
[ 2.072395] GACT probability NOT on
[ 2.074486] Mirror/redirect action on
[ 2.078108] netem: version 1.3
[ 2.081116] u32 classifier
[ 2.083792] input device check on
[ 2.087415] Actions configured
[ 2.091189] xt_time: kernel timezone is -0000
[ 2.095144] gre: GRE over IPv4 demultiplexor driver
[ 2.099923] IPv4 over IPsec tunneling driver
[ 2.104358] Initializing XFRM netlink socket
[ 2.108382] IPsec XFRM device driver
[ 2.112074] NET: Registered PF_INET6 protocol family
[ 2.118366] Segment Routing with IPv6
[ 2.120456] In-situ OAM (IOAM) with IPv6
[ 2.124372] mip6: Mobile IPv6
[ 2.127469] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.133450] NET: Registered PF_PACKET protocol family
[ 2.138139] NET: Registered PF_KEY protocol family
[ 2.142896] Bridge firewalling registered
[ 2.146989] Bluetooth: RFCOMM TTY layer initialized
[ 2.151679] Bluetooth: RFCOMM socket layer initialized
[ 2.156789] Bluetooth: RFCOMM ver 1.11
[ 2.160474] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.165730] Bluetooth: BNEP filters: protocol multicast
[ 2.170907] Bluetooth: BNEP socket layer initialized
[ 2.175822] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.181691] Bluetooth: HIDP socket layer initialized
[ 2.186730] l2tp_core: L2TP core driver, V2.0
[ 2.190922] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 2.195659] 8021q: 802.1Q VLAN Support v1.8
[ 2.199847] 9pnet: Installing 9P2000 support
[ 2.204056] Key type dns_resolver registered
[ 2.208392] NET: Registered PF_VSOCK protocol family
[ 2.213640] Loading compiled-in X.509 certificates
[ 2.217971] Key type .fscrypt registered
[ 2.221797] Key type fscrypt-provisioning registered
[ 2.227513] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[ 2.233259] pstore: Using crash dump compression: deflate
[ 2.348729] meson-drm ff900000.vpu: Queued 1 outputs on vpu
[ 2.349611] meson-drm ff900000.vpu: CVBS Output connector not available
[ 2.371192] Bluetooth: hci0: BCM: chip id 121
[ 2.371549] Bluetooth: hci0: BCM: features 0x0e
[ 2.375972] Bluetooth: hci0: BCM4359C0
[ 2.378139] Bluetooth: hci0: BCM4359C0 (003.001.006) build 0000
[ 2.382452] meson-dw-hdmi ff600000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[ 2.394952] meson-dw-hdmi ff600000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[ 2.401745] meson-drm ff900000.vpu: bound ff600000.hdmi-tx (ops meson_dw_hdmi_ops)
[ 2.409326] [drm] Initialized meson 1.0.0 20161109 for ff900000.vpu on minor 0
[ 2.417597] meson8b-dwmac ff3f0000.ethernet: IRQ eth_wake_irq not found
[ 2.422737] meson8b-dwmac ff3f0000.ethernet: IRQ eth_lpi not found
[ 2.428944] meson8b-dwmac ff3f0000.ethernet: PTP uses main clock
[ 2.436007] meson8b-dwmac ff3f0000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[ 2.441887] meson8b-dwmac ff3f0000.ethernet: DWMAC1000
[ 2.447038] meson8b-dwmac ff3f0000.ethernet: DMA HW capability register supported
[ 2.454457] meson8b-dwmac ff3f0000.ethernet: RX Checksum Offload Engine supported
[ 2.461870] meson8b-dwmac ff3f0000.ethernet: COE Type 2
[ 2.467047] meson8b-dwmac ff3f0000.ethernet: TX Checksum insertion supported
[ 2.474030] meson8b-dwmac ff3f0000.ethernet: Wake-Up On Lan supported
[ 2.480447] meson8b-dwmac ff3f0000.ethernet: Normal descriptors
[ 2.486279] meson8b-dwmac ff3f0000.ethernet: Ring mode enabled
[ 2.492061] meson8b-dwmac ff3f0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 2.500918] dwc3-meson-g12a ffe09000.usb: USB2 ports: 2
[ 2.505173] dwc3-meson-g12a ffe09000.usb: USB3 ports: 1
[ 2.512924] dwc2 ff400000.usb: supply vusb_d not found, using dummy regulator
[ 2.517463] dwc2 ff400000.usb: supply vusb_a not found, using dummy regulator
[ 2.524617] dwc2 ff400000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[ 2.531966] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 2.536923] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
[ 2.544583] xhci-hcd xhci-hcd.3.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x0000000000010010
[ 2.553827] xhci-hcd xhci-hcd.3.auto: irq 30, io mem 0xff500000
[ 2.559759] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 2.565115] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
[ 2.572708] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
[ 2.579235] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 2.587367] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.594523] usb usb1: Product: xHCI Host Controller
[ 2.599353] usb usb1: Manufacturer: Linux 6.1.1-g8d5e1200a38b-ab9495191 xhci-hcd
[ 2.606682] usb usb1: SerialNumber: xhci-hcd.3.auto
[ 2.611846] hub 1-0:1.0: USB hub found
[ 2.615239] hub 1-0:1.0: 2 ports detected
[ 2.619361] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.627249] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[ 2.635407] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.642569] usb usb2: Product: xHCI Host Controller
[ 2.647394] usb usb2: Manufacturer: Linux 6.1.1-g8d5e1200a38b-ab9495191 xhci-hcd
[ 2.654724] usb usb2: SerialNumber: xhci-hcd.3.auto
[ 2.659801] hub 2-0:1.0: USB hub found
[ 2.663277] hub 2-0:1.0: 1 port detected
[ 2.668570] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq
[ 2.669334] meson-gx-mmc ffe03000.sd: allocated mmc-pwrseq
[ 2.676464] input: adc-keys as /devices/platform/adc-keys/input/input2
[ 2.694254] printk: console [netcon0] enabled
[ 2.694288] netconsole: network logging started
[ 2.697491] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.11 (r)
[ 2.704642] ======== dhd_wlan_init_plat_data ========
[ 2.709640] dhd_wlan_init_gpio: WL_REG_ON=-1
[ 2.713883] dhd_wifi_platform_load: Enter
[ 2.717893] Power-up adapter 'DHD generic adapter'
[ 2.722597] wifi_platform_set_power = 1
[ 2.726368] ======== PULL WL_REG_ON(-1) HIGH! ========
[ 2.810881] mmc2: new high speed SDIO card at address 0001
[ 2.873717] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 2.875170] mmc1: new HS200 MMC card at address 0001
[ 2.880075] mmcblk1: mmc1:0001 BJTD4R 29.1 GiB
[ 2.887853] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12
[ 2.891101] mmcblk1boot0: mmc1:0001 BJTD4R 4.00 MiB
[ 2.895661] mmcblk1boot1: mmc1:0001 BJTD4R 4.00 MiB
[ 2.900402] mmcblk1rpmb: mmc1:0001 BJTD4R 4.00 MiB, chardev (234:0)
[ 3.021965] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[ 3.024490] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.031574] usb 1-1: Product: USB 2.0 Hub
[ 3.037744] wifi_platform_bus_enumerate device present 1
[ 3.040786] ======== Card detection to detect SDIO card! ========
[ 3.062928] bcmsdh_register: register client driver
[ 3.063039] bcmsdh_sdmmc_probe: Enter num=1
[ 3.066376] bcmsdh_sdmmc_probe: Enter num=2
[ 3.070457] bus num (host idx)=2, slot num (rca)=1
[ 3.075196] found adapter info 'DHD generic adapter'
[ 3.080158] sdioh_attach: set sd_f2_blocksize 256
[ 3.084812] sdioh_attach: sd clock rate = 0
[ 3.089231] dhdsdio_probe : no mutex held. set lock
[ 3.091350] hub 1-1:1.0: USB hub found
[ 3.094745] F1 signature read @0x18000000=0x17294359
[ 3.097485] hub 1-1:1.0: 4 ports detected
[ 3.107021] F1 signature OK, socitype:0x1 chip:0x4359 rev:0x9 pkg:0x2
[ 3.113425] DHD: dongle ram size is set to 917504(orig 917504) at 0x160000
[ 3.120139] dhd_conf_set_chiprev: chip=0x4359, chiprev=9
[ 3.124927] CFG80211-ERROR) wl_setup_wiphy :
[ 3.124931] Registering Vendor80211
[ 3.132917] CFG80211-ERROR) wl_init_prof :
[ 3.132920] wl_init_prof: No profile
[ 3.140443] dhd_attach(): thread:dhd_watchdog_thread:81 started
[ 3.146228] dhd_attach(): thread:dhd_dpc:82 started
[ 3.151027] dhd_attach(): thread:dhd_rxf:83 started
[ 3.155760] dhd_deferred_work_init: work queue initialized
[ 3.161191] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
[ 3.167667] dhd_bus_set_default_min_res_mask: Unhandled chip id
[ 3.173850] sdioh_cis_read: func_cis_ptr[0]=0x10ac
[ 3.187150] Dongle Host Driver, version 1.579.77.41.11 (r)
[ 3.187489] ANDROID-MSG)
[ 3.187492] wl_ext_iapsta_attach_netdev: ifidx=0, bssidx=0
[ 3.195025] Register interface [wlan0] MAC: 54:78:c9:e2:58:92
[ 3.195025]
[ 3.202293] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 0
[ 3.208734] dhd_wl_ioctl: returning as busstate=0
[ 3.213384] dhd_bus_devreset: == Power OFF ==
[ 3.217864] dhd_txglom_enable: enable 0
[ 3.221488] dhd_conf_set_txglom_params: txglom_mode=multi-desc
[ 3.227274] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0
[ 3.233826] dhd_conf_set_txglom_params: txinrx_thres=128, dhd_txminmax=-1
[ 3.240557] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=300
[ 3.247366] dhd_bus_devreset: WLAN OFF DONE
[ 3.251685] wifi_platform_set_power = 0
[ 3.255391] ======== PULL WL_REG_ON(-1) LOW! ========
[ 3.260390] dhdsdio_probe : the lock is released.
[ 3.265098] dhd_module_init: Exit err=0
[ 3.269094] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.277628] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.283056] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.285943] ALSA device list:
[ 3.291542] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 3.294466] #0: KHADAS-VIM3
[ 3.311011] Freeing unused kernel memory: 1344K
[ 3.349761] Run /init as init process
[ 3.365362] init: init first stage started!
[ 3.365481] init: Unable to open /lib/modules, skipping module loading.
[ 3.370681] init: Copied ramdisk prop to /second_stage_resources/system/etc/ramdisk/build.prop
[ 3.379071] init: /first_stage_ramdisk/system/bin/snapuserd already exists and it can be executed
[ 3.387982] init: Switching root to '/first_stage_ramdisk'
[ 3.393392] init: [libfstab] Using Android DT directory /proc/device-tree/firmware/android/
[ 3.401567] init: [libfstab] ReadFstabFromDt(): failed to read fstab from dt
[ 3.424119] init: [libfs_mgr] superblock s_max_mnt_count:65535,/dev/block/platform/soc/ffe07000.mmc/by-name/a
[ 3.429515] init: [libfs_mgr] Filesystem on /dev/block/platform/soc/ffe07000.mmc/by-name/metadata was not cl6
[ 3.449947] EXT4-fs (mmcblk1p11): recovery complete
[ 3.450332] EXT4-fs (mmcblk1p11): mounted filesystem with ordered data mode. Quota mode: none.
[ 3.457784] init: [libfs_mgr] check_fs(): mount(/dev/block/platform/soc/ffe07000.mmc/by-name/metadata,/metads
[ 3.469476] EXT4-fs (mmcblk1p11): unmounting filesystem.
[ 3.476402] init: [libfs_mgr] umount_retry(): unmount(/metadata) succeeded
[ 3.481364] init: [libfs_mgr] Not running /system/bin/e2fsck on /dev/block/mmcblk1p11 (executable not in sys)
[ 3.493769] EXT4-fs (mmcblk1p11): mounted filesystem with ordered data mode. Quota mode: none.
[ 3.500462] init: [libfs_mgr] __mount(source=/dev/block/platform/soc/ffe07000.mmc/by-name/metadata,target=/ms
[ 3.513895] init: Failed to copy /avb into /metadata/gsi/dsu/avb/: No such file or directory
[ 6.349696] random: crng init done
[ 6.350448] init: [libfs_mgr] Created logical partition system_a on device /dev/block/dm-0
[ 6.356179] init: [libfs_mgr] Created logical partition system_b on device /dev/block/dm-1
[ 6.364305] init: [libfs_mgr] Created logical partition vendor_a on device /dev/block/dm-2
[ 6.372065] init: [libfs_mgr] Skipping zero-length logical partition: vendor_b
[ 6.379247] init: DSU not detected, proceeding with normal boot
[ 6.388565] init: [libfs_avb] avb_slot_verify failed, result: 6
[ 6.390953] init: Failed to open AvbHandle: Invalid argument
[ 6.396551] init: Failed to setup verity for '/system': Invalid argument
[ 6.403189] init: Failed to mount /system: Invalid argument
[ 6.408737] init: Failed to mount required partitions early ...
[ 6.415137] init: InitFatalReboot: signal 6
[ 6.420028] init: #00 pc 0000000000151004 /system/bin/init
[ 6.424424] init: #01 pc 00000000000d6360 /system/bin/init
[ 6.430103] init: #02 pc 00000000000154b0 /system/lib64/libbase.so
[ 6.436483] init: #03 pc 0000000000014a00 /system/lib64/libbase.so
[ 6.442865] init: #04 pc 000000000010905c /system/bin/init
[ 6.448558] init: #05 pc 00000000000578e4 /system/lib64/libc.so
[ 6.454681] init: Reboot ending, jumping to kernel
[ 6.459439] kvm: exiting hardware virtualization
[ 6.459617] cfg80211: failed to load regulatory.db
[ 11.417521] init: Reboot ending, jumping to kernel
[ 13.382418] platform leds: deferred probe pending
After that system reboot itself and gives same error
@metin_duman
file.rar (45.0 KB)
My burning log is attached as 20250606-burning-log.log, and the boot log is attached as 20250606-boot-log.log. Below I will tell you all my steps and processes
A. Compile
See the attached build_aosp_vim3.sh for the compilation script
Put the script in the code root directory and grant permissions and then execute
chmod 777 build_aosp_vim3.sh
./build_aosp_vim3.sh
B. Burn
Image path out/target/product/yukawa, required images boot.img, dtbo-unsigned.img, super.img, u-boot_kvim3_ab.bin, userdata.img
1.Press the F key three times quickly and check if the connection is successful:
lsusb | grep Amlogic
2.Burn bootloader:
python3 boot-g12.py 20250606/u-boot_kvim3_ab.bin && fastboot oem format && fastboot flash bootloader 20250606/u-boot_kvim3_ab.bin && fastboot erase bootenv && fastboot reboot bootloader && cd 20250606/
3.Press R button:
fastboot devices
4.Burn boot, super partition image and reboot:
fastboot flash boot_a boot.img && fastboot flash boot_b boot.img && fastboot flash super super.img && fastboot flash userdata userdata.img && fastboot flash dtbo_a dtbo-unsigned.img && fastboot flash dtbo_b dtbo-unsigned.img && fastboot erase misc && fastboot erase frp && fastboot format metadata && fastboot reboot
Because export TARGET_AVB_ENABLE=true was added during compilation, there is no need to execute setenv force_avb 1 and saveenv. Just restart the computer and it will work.
I need a usefull information about the size of repo. Whe I am trying to get repo , its size becomes more then 800GB and I have 1 TB storage size. So I want to understand what is the exact size of repo that you used or shared with us? How can I decrease the repo size ?
@metin_duman
This is the size of my repo
xiong@server:/users2/xiong/work/amlogic/vim3_aosp_14/aosp-main$ du -sh .repo/
39G .repo/
Please check @xiong.zhang ,
Steps:
-
repo init of AOSP
mkdir khadas-aosp-14 && cd $_
repo init -u platform/manifest - Git at Google -b main --depth=1
repo sync -c -j16 -
building AOSP
cd khadash-aosp-14 and run below script
#!/bin/bash
PROJECT_PATH=pwd
echo $PROJECT_PATH
#build android
export TARGET_VIM3=true
export TARGET_AVB_ENABLE=true
export TARGET_KERNEL_USE=6.1
export TARGET_USE_TABLET_LAUNCHER=true
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
./device/amlogic/yukawa/fetch-vendor-package.sh
source build/envsetup.sh && lunch yukawa-trunk_staging-userdebug
time make -j16 2>&1 | tee build_vim3_14_android.log
- Build finish without error , I connect the vim3 board to PC with serial port and open minicom
- From PC terminal and Press the F key three times quickly while power off the vim3 board from usb
- From Terminal wirte commands as;
~/Projects/khadas-aosp-14$ ../util/pyamlboot/boot-g12.py /home/beko/Projects/khadas-aosp-14/out/target/product/yukawa/u-boot_kvim3_ab.bin && fastboot oem format && fastboot flash bootloader /home/beko/Projects/khadas-aosp-14/out/target/product/yukawa/u-boot_kvim3_ab.bin && fastboot erase bootenv && fastboot reboot bootloader && cd /home/beko/Projects/khadas-aosp-14/out/target/product/yukawa/
the output at terminal is:
Firmware Version :
ROM: 3.2 Stage: 0.0
Need Password: 0 Password OK: 1
Writing /home/beko/Projects/khadas-aosp-14/out/target/product/yukawa/u-boot_kvim3_ab.bin at 0xfffa0000âŠ
[DONE]
Running at 0xfffa0000âŠ
[DONE]
AMLC dataSize=16384, offset=65536, seq=0âŠ
[DONE]
AMLC dataSize=49152, offset=393216, seq=1âŠ
[DONE]
AMLC dataSize=16384, offset=229376, seq=2âŠ
[DONE]
AMLC dataSize=49152, offset=245760, seq=3âŠ
[DONE]
AMLC dataSize=49152, offset=294912, seq=4âŠ
[DONE]
AMLC dataSize=16384, offset=65536, seq=5âŠ
[DONE]
AMLC dataSize=1198960, offset=81920, seq=6âŠ
[DONE]
[BL2 END]
< waiting for any device >
OKAY [ 0.240s]
Finished. Total time: 0.240s
Sending âbootloaderâ (1250 KB) OKAY [ 0.069s]
Writing âbootloaderâ OKAY [ 0.077s]
Finished. Total time: 0.178s
Erasing âbootenvâ OKAY [ 0.019s]
Finished. Total time: 0.061s
Rebooting into bootloader OKAY [ 0.004s]
Finished. Total time: 0.054s
6.Press R button: an write commands at terminal
~/Projects/khadas-aosp-14/out/target/product/yukawa$ fastboot flash boot_a boot.img && fastboot flash boot_b boot.img && fastboot flash super super.img && fastboot flash userdata userdata.img && fastboot flash dtbo_a dtbo-unsigned.img && fastboot flash dtbo_b dtbo-unsigned.img && fastboot erase misc && fastboot erase frp && fastboot format metadata && fastboot reboot
the output of terminal is:
Sending âboot_aâ (65536 KB) OKAY [ 3.410s]
Writing âboot_aâ OKAY [ 1.991s]
Finished. Total time: 5.432s
Sending âboot_bâ (65536 KB) OKAY [ 3.411s]
Writing âboot_bâ OKAY [ 1.981s]
Finished. Total time: 5.424s
Sending sparse âsuperâ 1/3 (769552 KB) OKAY [ 40.702s]
Writing âsuperâ OKAY [ 25.186s]
Sending sparse âsuperâ 2/3 (749059 KB) OKAY [ 39.795s]
Writing âsuperâ OKAY [ 26.797s]
Sending sparse âsuperâ 3/3 (113180 KB) OKAY [ 6.025s]
Writing âsuperâ OKAY [ 3.588s]
Finished. Total time: 142.115s
Sending âuserdataâ (2284 KB) OKAY [ 0.137s]
Writing âuserdataâ OKAY [ 0.655s]
Finished. Total time: 0.826s
Sending âdtbo_aâ (4 KB) OKAY [ 0.020s]
Writing âdtbo_aâ OKAY [ 0.017s]
Finished. Total time: 0.067s
Sending âdtbo_bâ (4 KB) OKAY [ 0.020s]
Writing âdtbo_bâ OKAY [ 0.018s]
Finished. Total time: 0.069s
Erasing âmiscâ OKAY [ 0.018s]
Finished. Total time: 0.049s
Erasing âfrpâ OKAY [ 0.017s]
Finished. Total time: 0.049s
mke2fs 1.46.6 (1-Feb-2023)
Creating filesystem with 4096 4k blocks and 4096 inodes
Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done
Sending âmetadataâ (52 KB) OKAY [ 0.022s]
Writing âmetadataâ OKAY [ 0.051s]
Finished. Total time: 0.150s
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.050s
After all vim3 reboots itself but gives some error. Please check also serial port debug output vim3 board , the file name is output.txt
@metin_duman
The burning process is fine
output.txt (105.5 KB)
@xiong.zhang please check the debug file for all process and booting of vim3 board.I did all steps how you explain and I can not boot the android on this board. What is wrong?
Can you upload the boot.img, dtbo-unsigned.img, super.img, u-boot_kvim3_ab.bin, and userdata.img files you compiled to Google Drive? I want to download and burn them. I donât know if itâs caused by some settings on your motherboard before. I want to verify it.
@xiong.zhang pls check Please check vim3 - Google Drive
Also I included build log file
build_vim3_14_android.zip (2.7 MB)
Have you compiled the kernel?
mkdir ~/src/khadas-kernel/ && cd $_
repo init -u https://gitlab.baylibre.com/baylibre/amlogic/atv/aosp/kernel/manifest.git -b yukawa-android-14-6.1
repo sync