-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Official/Progress] Phicomm devices' support is incomplete #2
Comments
A workaround of this is to write dtb from other source (e.g. from mainline Linux kernel) into emmc, and if the box still boots, ampart will work on these normal dtb formats |
When forced a Phicomm N1 dtb onto my BesTV R3300L with DD, the dtb can't be processed, which suggests it is definitely in a proprietary format
|
I'll close this and never support "a powerful hardware" Phicomm N1 due to my limited time and lack of support from owners of corresponding hardware. Some Mr.programmer buddy got lots of time to play with games but no time to actually help with actual development even he claims "I want to explore its full potential" |
I currently do not have such a device to further debug and develop
A proprietary dtb format starts with
DA04
is used in Phicomm devices, mainly N1 as I've only seen reports from a user with this deviceSince u-boot would compare the partition table stored at the beginning of the reserved partition, and in the on-emmc dtb stored at the middle of the reserved partition, and 'friendly fix' it if these two are different, the new partition table will be reverted as soon as you reboot. ampart avoids this by removing the partitions node in the on-emmc dtb, and it supports standard dtb (magic
D00DFEED
), Amlogic multi-dtb (magic414D4C5F
) and gzipped versions of both (magic1F8B
), but does not support such proprietary format found on Phicomm N1.ampart will refuse to modify the partition table if such a format is found. However, if you believe your u-boot won't 'fix' the partition table, or you have modified the dtb to avoid this, or you'll never poweroff the box after you re-partition it, you can force ampart to run with
--no-node/-N
If anyone knows how this proprietary dtb format is decrpted and encrpted, please leave a comment below. I'll be appreciated.
The text was updated successfully, but these errors were encountered: