USB-C PD Negotiation Wrong - 12V/0A in message

Totally, me too. Sadly there’s a chunk missing for a Silicon Mac machine. Notably the stuff about case sensitivity and the bin formats. Still haven’t got it built - tar of all things is misbehaving. I’ve tried switching to BSD tar with no improvement (quite the opposite, it’s missing an option that’s needed).

GNU tar gives this: “Directory renamed before its status could be extracted”. That’s after about an hour’s run of the make file, annoyingly.

Onwards, or perhaps downwards into this spiral.

EDIT: Okay, the tar thing seems to be fixed by adding --absolute-namesto the invocations in config/functions/build-rootfs. Some sort of interaction between GNU tar and the Mac filing system, if other people’s attempts to build things on Macs are anything to go by.

I’ll write this up as a single top-level post if and when it actually builds.

EDIT: nope, sad to say, I’m giving up for now. The Mac filesystem is putting up too much of a fight - extended attribute support is now causing issues. One last try, without the bind mounts, so everything is “inside” Docker.

EDIT: image created, but there’s some bodging. The final step looks like:

Info: About to run /home/khadas/fenix/build/utils-*/aml_image_v2_packer -r /home/khadas/fenix/build/images_upgrade-*/Amlogic/package.conf /home/khadas/fenix/build/images_upgrade-*/Amlogic /home/khadas/fenix/build/images/vim4-ubuntu-24.04-minimal-linux-5.15-fenix-1.7.5-260216-emmc-develop.img

qemu-i386: unable to find CPU model 'cortex-a53'

(I added the info line to show me the raw command line it was struggling with). If I run the command manually then it successfully creates an image, I’m guessing since QEMU_CPU is not set.

Final EDIT: I’ll leave all this up for posterity, but I’ve not managed to make a bootable image. I’m sure I’m doing something dumb (using a Silicon Mac to build a VIM4 image primarily).

1 Like

I had issues with Linux and an Encrypted filesystem. The pathnames were too long in the end and many build scripts failed. On a vanilla filesystem it worked (and as shallow tree as possible)

1 Like

Hello @robrain @RichardPar

We will double check the PR again, thanks.

Hello @robrain

Could you try to use oowow to install this image to check whether it works?

vim4-ubuntu-24.04-gnome-linux-5.15-fenix-1.7.5-260226-develop-test-only.img.xz

Thanks. Doing that now, will edit this comment shortly with results.

  1. That’s one big image!
  2. Still endlessly reboots with a 96W Apple USB adapter. It offers at least 20.5V@4A, 15V@3A, 9V@3A and 5.2V@3A.

I’ve been able to get a no-name combined power brick (mains and USB outlets) to work with both the old version and this new image. The only text on the power brick is 5V@4.2A “SmartUSB” - maybe PD, maybe just sales flannel.

IOW this image hasn’t changed things for me

Do you have a chance to provide the serial console log of the u-boot? [1]

I dont have such adaptor, so if you can proide the logs it will be useful.

[1] - VIM3/3L Setup Serial Debug Console [Khadas Docs]

Sorry about the delay. Log file obtained. It’s three loops through the power cycle whilst connected to an Apple 96W PSU, model A2166. That is, I plugged it in and waited for it to restart three times, no keys pressed. The SBC had been re-imaged with the test-only image you created.

Thanks

VIM4_Apple96W_PSU.txt.zip (5.9 KB)