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

Add wake handler support for go1.23 and go1.24 #317

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

AlCutter
Copy link
Collaborator

@AlCutter AlCutter commented Apr 1, 2025

This PR adds support for the monitor (when built with tamago1.24) to detect and correctly wake applets built with tamago1.23 and tamago1.24.

Tested OS tamago1.24, Applet tamago1.23:

armored-witness-boot • tamago/arm (go1.23.1) • 3eefc3c • i.MX6UL
armored-witness-boot: version 0.1.0-35-g3eefc3c
armored-witness-boot: loading configuration & kernel at USDHC2@10485760
armored-witness-boot: log verifier: DEV-FT-LOG+22ab00a9+Ab6KRXXm5Hs9YuJWpNNlvlZ4BAisHRx7TR1375f7n5VZ
armored-witness-boot: kernel verifier: DEV-OS-1+23597896+AYFiM0rc8J6/64lwD85JQbNmE79dl0N8GBPRTZqT+VMe
armored-witness-boot: kernel verifier: DEV-OS-2+05022ebf+AcjbNE2bka89SEvmmgfAYZBA45cadsGUqUr7wh3XTdNx
armored-witness-boot: loaded kernel version 0.4.54
armored-witness-boot: verified kernel
armored-witness-boot00:00:03 tamago/arm (go1.24.1) • TEE security monitor (Secure World system/monitor) • 3637a8b
00:00:03 Loaded OS from slot B
00:00:03 SM log verification pub: DEV-FT-LOG+22ab00a9+Ab6KRXXm5Hs9YuJWpNNlvlZ4BAisHRx7TR1375f7n5VZ
00:00:03 SM applet verification pub: DEV-APPLET+79441a79+Af/Q6S4XZtrNchMilwJK+YI3HAxE+0YqMMSznbOHdHXA
00:00:04 Loaded applet from slot A
00:00:04 SM Verifying applet bundle
00:00:06 SM Loaded applet version 0.4.50 (with TamaGo runtime 1.23.1)
00:00:06 SM Using legacy 1.23.0 wakeHandler
00:00:07 SM applet loaded addr:0x20000000 entry:0x20086064 size:17322419
00:00:07 SM applet started mode:USR sp:0x30000000 pc:0x20086064 ns:false
I0101 00:00:07.719777       3 main.go:132] tamago/arm (go1.23.1) • TEE user applet • b29be38

Tested OS tamago1.24, Applet tamago1.24:

armored-witness-boot • tamago/arm (go1.23.1) • 3eefc3c • i.MX6UL
armored-witness-boot: version 0.1.0-35-g3eefc3c
armored-witness-boot: loading configuration & kernel at USDHC2@10485760
armored-witness-boot: log verifier: DEV-FT-LOG+22ab00a9+Ab6KRXXm5Hs9YuJWpNNlvlZ4BAisHRx7TR1375f7n5VZ
armored-witness-boot: kernel verifier: DEV-OS-1+23597896+AYFiM0rc8J6/64lwD85JQbNmE79dl0N8GBPRTZqT+VMe
armored-witness-boot: kernel verifier: DEV-OS-2+05022ebf+AcjbNE2bka89SEvmmgfAYZBA45cadsGUqUr7wh3XTdNx
armored-witness-boot: loaded kernel version 0.4.54
armored-witness-boot: verified kernel
armored-witness-boot00:00:03 tamago/arm (go1.24.1) • TEE security monitor (Secure World system/monitor) • 3637a8b
00:00:03 Loaded OS from slot B
00:00:03 SM log verification pub: DEV-FT-LOG+22ab00a9+Ab6KRXXm5Hs9YuJWpNNlvlZ4BAisHRx7TR1375f7n5VZ
00:00:03 SM applet verification pub: DEV-APPLET+79441a79+Af/Q6S4XZtrNchMilwJK+YI3HAxE+0YqMMSznbOHdHXA
00:00:04 Loaded applet from slot B
00:00:04 SM Verifying applet bundle
00:00:07 SM Loaded applet version 0.4.54 (with TamaGo runtime 1.24.1)
00:00:07 SM Using OS runtime 1.24.0 wakeHandler
00:00:07 SM applet loaded addr:0x20000000 entry:0x2008b8dc size:18199117
00:00:07 SM applet started mode:USR sp:0x30000000 pc:0x2008b8dc ns:false
I0101 00:00:07.789795       3 main.go:132] tamago/arm (go1.24.1) • TEE user applet • 3bc5bda

@AlCutter AlCutter merged commit d0dd3f1 into transparency-dev:main Apr 2, 2025
3 checks passed
@AlCutter AlCutter deleted the 1_24_timer branch April 2, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants