Skip to content
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

Package armbian-esp-cli-espressobin-current does not generate a FIT supporting EMMC boot variants #5638

Open
1 task done
kainz opened this issue Aug 23, 2023 · 2 comments
Assignees
Labels
Bug Something isn't working well

Comments

@kainz
Copy link

kainz commented Aug 23, 2023

What happened?

The package armbian-esp-cli-espressobin-current is missing fixes that were implemented in PR #4521 . This causes any initramfs hook call to produce a DTB that will fail to boot a EMMC espressobin board.

How to reproduce?

See https://github.com/armbian/build/blob/main/packages/bsp/mvebu64/initramfs/99-uboot-fit#L55 , the dtb 'board configurations' block and its references, vs https://github.com/armbian/build/blob/main/config/its/marvell/a37xx/espressobin.its#L55 .

Incidentally, the image build blob doesn't actually set stuff up correctly either, the configurations block at its end points to the wrong dtb inclusion block, so trying to boot a v7 emmc board with current images wouldn't work anyway if you are trying to use the onboard eMMC.

Previous work (PR#4521) references support work and dtb details in the thread at https://forum.armbian.com/topic/12393-espressobin-install-to-emmc/.

After fixing the embedded dts in both of these locations (to produce build images that can work correctly on an eMMC board, and to produce an initramfs hook that will not brick the system), booted images can see the eMMC mmcblk device, and armbian-install produces expected results.

This doesn't give you an easy way to install to eMMC espressobins out-of-the-box, but it does get you 99% of the way there.

Branch

main (main development branch)

On which host OS are you observing this problem?

Other

Relevant log URL

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@github-actions
Copy link

Jira ticket: AR-1828

@kainz
Copy link
Author

kainz commented Aug 23, 2023

http://paste.armbian.com/nagetepufu.sh shows a 99-uboot-fit hook including the correct embedded DTS configuration to load the DTBs correctly. Do also note that https://www.armbian.com/espressobin/ doesn't document the (current?) FIT image booting method, or the impact of /boot/armbianEnv.txt's board_version variable.

@igorpecovnik igorpecovnik added the Bug Something isn't working well label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working well
Development

No branches or pull requests

3 participants