Page 1 of 2

U-Boot SPL (BL2) signing here

Unread postPosted: Tue Aug 19, 2014 10:10 am
by odroid
Requests for XU3 U-Boot SPL's signing go here.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Aug 20, 2014 12:40 am
by suriyan
Thanks odroid and mdrjr!

Can you please sign this bl2 for me. This is nothing but fanta's patch for xu on the xu3.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Aug 20, 2014 11:56 am
by cap00k
signed bl2.bin

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Aug 20, 2014 1:23 pm
by suriyan
Thank you cap00k!

Unfortunately, I changed the wrong file like an idiot!!

Can you please sign this one please?
Thanks
- Suriyan

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Aug 20, 2014 5:01 pm
by cap00k
signed bl2.bin

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Aug 20, 2014 10:21 pm
by suriyan
Thank you so much cap00k!

With this bl2, the processors come up in HYP mode. So far so good!
[ 0.191254] [c0] Brought up 8 CPUs
[ 0.191577] [c0] SMP: Total of 8 processors activated (384.00 BogoMIPS).
[ 0.191619] [c0] CPU: All CPU(s) started in HYP mode.
[ 0.191655] [c0] CPU: Virtualization extensions available.

I am attaching the bits, in case some one wants to use this u-boot for further build up.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Thu Aug 21, 2014 10:48 am
by odroid
Good to know that you enabled the HYP mode! :)

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Fri Aug 22, 2014 12:32 am
by suriyan
Good to know that you enabled the HYP mode!

Yep! I am excited too! Now, I can try to enable XEN on it.

Thanks
- Suriyan

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Mon Sep 01, 2014 10:57 am
by wombat
I'ld like to upload a new bl2 here, but he full0-text editor (that allows attachments) isn't working for me --- I get a blank page.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Mon Sep 01, 2014 11:12 am
by odroid
Our phpbb3 DB or configuration seems to be corrupted.

Here is a temporary solution.
1. Press "Quick Reply" button and enter anything and Submit.
2. Press "Edit" button on your post and upload the attached file.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Mon Sep 01, 2014 11:37 am
by wombat
Thanks.

Please sign this smdk5422-spl.bin in this archive:
spl.tar.tgz
(4.7 KiB) Downloaded 170 times


This enables HYP mode for the XU3, with a slightly different patch from Fanta's.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Tue Sep 16, 2014 9:23 pm
by toadstool
Hello,

Could you please sign the following TZSW? I am experimenting with TrustZone on the XU3.

Thanks!

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Sep 17, 2014 2:25 pm
by cap00k
wombat wrote:Thanks.

Please sign this smdk5422-spl.bin in this archive:
The attachment spl.tar.tgz is no longer available


This enables HYP mode for the XU3, with a slightly different patch from Fanta's.


Sorry I'm late.

Attached file is signed spl for exynos5422.

Thanks,

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Sep 17, 2014 2:26 pm
by cap00k
toadstool wrote:Hello,

Could you please sign the following TZSW? I am experimenting with TrustZone on the XU3.

Thanks!


Attached file is signed tzsw for exynos5422.

Thanks,

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Sep 17, 2014 6:10 pm
by toadstool
Thanks! Sadly the board doesn't boot with this binary. It looks like I forgot some zero-padding at the end. Can you please sign this new tzsw.bin so I can check if it was the issue?

Thanks again,

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Thu Sep 25, 2014 5:48 am
by akbennett
Hi, Can you please sign this bl2?

Thanks

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Thu Sep 25, 2014 11:21 am
by cap00k
toadstool wrote:Thanks! Sadly the board doesn't boot with this binary. It looks like I forgot some zero-padding at the end. Can you please sign this new tzsw.bin so I can check if it was the issue?

Thanks again,

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Thu Sep 25, 2014 11:21 am
by cap00k
akbennett wrote:Hi, Can you please sign this bl2?

Thanks

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Sat Nov 29, 2014 4:48 am
by suriyan
Hello odroid,
I am seeing a lot of demand to make U-Boot blob bigger in size. Can you please sign this BL2 blob, so I can test this shift.

Thanks
- Suriyan

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Mon Dec 01, 2014 10:51 am
by cap00k
suriyan wrote:Hello odroid,
I am seeing a lot of demand to make U-Boot blob bigger in size. Can you please sign this BL2 blob, so I can test this shift.

Thanks
- Suriyan

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Mon Dec 01, 2014 1:00 pm
by suriyan
Thanks cap00k! It works like a charm!

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Tue Dec 02, 2014 6:30 pm
by odroid
Hi Suriyan,
What is the size of u-boot partition you changed?
Many people need 1MByte for the U-boot Mainline tree.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Dec 03, 2014 2:05 am
by mdrjr
odroid wrote:Hi Suriyan,
What is the size of u-boot partition you changed?
Many people need 1MByte for the U-boot Mainline tree.


Double, 600-ish KBytes. Should be enough for upstream. However its only for microsd.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Dec 03, 2014 5:53 am
by suriyan
mdrjr wrote:Double, 600-ish KBytes. Should be enough for upstream. However its only for microsd.

That would be correct. It somehow does not work for emmc (Edit - It works for both eMMC and SDcard), and I am still scratching my head over it. Looks like emmc block read does not have an offset but only block size as a parameter. The only logical conclusion (from my limited knowledge) is that each emmc multiblock read starts from the end of the last block read invocation. Hence, it seems to work for current boot.But, if that were true, then my shift should have worked for emmc as well, as they are contiguously laid out as before. Unfortunately it doesn't, which makes me think if there is some hardcoded values being used for offsets when it comes to emmc reads using smc I am going over the boot sequence to see if I have missed out something!
My next experiment would be to add emmc read routines that do the actual read instead of relying on the smc call.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Dec 03, 2014 7:39 am
by suriyan
So, my guess seems to be correct. For emmc it does load it sequentially and hence as long as the smc calls are in order -> BL1, BL2, U-Boot, TZSW , then all is well.
My version works for both emmc and SD card!
I am thinking its best that if it follows the same layout as the U3, it will be more consistent for most people (1MB U-Boot space)
So hurray!
I had an issue with my fusing script which gave me the impression that it wasnt working for eMMC!

BTW odroid/mdrjr,
I think the layout might be better if its the same as the odroid U3. what do you think ? I shall get another BL2 signed with those offsets.
- suriyan

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Dec 03, 2014 8:17 am
by suriyan
Hello cap00k,
Can you please sign this bl2. It allows for a 1MB U-Boot image.
Thanks
- Suriyan

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Dec 03, 2014 12:23 pm
by cap00k
suriyan wrote:Hello cap00k,
Can you please sign this bl2. It allows for a 1MB U-Boot image.
Thanks
- Suriyan

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Dec 03, 2014 12:43 pm
by suriyan
Thank you so much cap00k! I have tested this on eMMC and SD card. Works well. I loaded the u-boot mainline XU3 with it as well. I shall open a new thread with the fusing package so its easy to use. I shall list the simple source change in case it needs to be merged or put up somewhere.
Thanks
- Suriyan

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Dec 03, 2014 3:11 pm
by odroid
I found your post.
viewtopic.php?f=98&t=7388

Really appreciate your great development.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Thu Dec 04, 2014 1:57 am
by suriyan
odroid wrote:I found your post.
viewtopic.php?f=98&t=7388

Really appreciate your great development.

Thanks odroid for your kind words.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Dec 10, 2014 3:54 pm
by suriyan
Hello cap00k,
Can you please sign this BL2. I am checking if mainline's BL2 can be used.

Thanks
- Suriyan

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed Dec 10, 2014 5:15 pm
by cap00k
suriyan wrote:Hello cap00k,
Can you please sign this BL2. I am checking if mainline's BL2 can be used.

Thanks
- Suriyan


Good luck ! :D

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Thu Dec 11, 2014 1:48 am
by suriyan
An update. This blob that I got signed does not boot. This made me look into this more closely.
I have missed the offsets to load U-Boot and TZ. I shall make another attempt after studying this some more.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Fri Dec 12, 2014 9:00 am
by suriyan
Hello cap00k,
Could you please sign these BL2s please. I am trying to see if I can get into a state where I can test multiple BL2s without getting them signed.
And the other a next attempt to get mainline's BL2 get going.

Thanks
- Suriyan

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Fri Dec 12, 2014 11:57 am
by cap00k
Attached the signed files

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Sat Dec 13, 2014 4:40 am
by suriyan
Thanks for signing. mainline still does not work. I have to fully rework it, looks like mainline SPL is not geared towards secure firmware, which in my opinion follows a very different code path - I shall research this some more.
The other one kind of works but not really :-) I still have quite a bit of research to do.

U-Boot SPL (BL2) signing here

Unread postPosted: Fri Dec 19, 2014 6:40 pm
by LifeIsBeautiful
Hello Odroid. can you please sign the attached bl2 file
Thanks

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Fri Dec 19, 2014 7:48 pm
by odroid
We can sign it early next week.
It already PM 8:00 Friday in Korea. ;)

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Mon Dec 22, 2014 10:41 am
by cap00k
Attached the signed files

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Tue Dec 23, 2014 5:23 pm
by LifeIsBeautiful
Thanks for signing, I need to upload one more built, but "POSTREPLY"(full editor) option is not working. Any one facing the same issue.

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Tue Dec 23, 2014 5:32 pm
by odroid
Our forum DB seems to be corrupted some where.. :(
Work around..
Quick-reply and edit it. :P

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Tue Dec 23, 2014 7:27 pm
by LifeIsBeautiful
Hello Odroid,
can you please sign the attached BL2

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Thu Jan 29, 2015 8:27 pm
by myworktask
Hello Odroid team

can you please sign this bl2?

thank you

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Fri Jan 30, 2015 2:09 pm
by cap00k
LifeIsBeautiful wrote:Hello Odroid,
can you please sign the attached BL2

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Fri Jan 30, 2015 2:09 pm
by cap00k
myworktask wrote:Hello Odroid team

can you please sign this bl2?

thank you

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed May 13, 2015 5:57 am
by moslab
Hello Odroid team,

Can you sign this tzsw for me?

Thanks!

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Wed May 13, 2015 2:41 pm
by cap00k
moslab wrote:Hello Odroid team,

Can you sign this tzsw for me?

Thanks!

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Fri May 22, 2015 10:46 am
by moslab
Thank you cap00k,

Can you also sign this bl2 for me?

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Fri May 22, 2015 11:58 am
by cap00k
moslab wrote:Thank you cap00k,

Can you also sign this bl2 for me?

Re: U-Boot SPL (BL2) signing here

Unread postPosted: Fri May 29, 2015 8:43 am
by traray
Hello, Odroid

Could you please sign this bl2?

Thank you so much!