U-Boot SPL (BL2) signing here

Moderators: mdrjr, odroid

U-Boot SPL (BL2) signing here

Unread postby odroid » Tue Aug 19, 2014 10:10 am

Requests for XU3 U-Boot SPL's signing go here.
User avatar
odroid
Site Admin
 
Posts: 28718
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Wed Aug 20, 2014 12:40 am

Thanks odroid and mdrjr!

Can you please sign this bl2 for me. This is nothing but fanta's patch for xu on the xu3.
Attachments
smdk5422-spl.bin.gz
(4.56 KiB) Downloaded 172 times
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Wed Aug 20, 2014 11:56 am

signed bl2.bin
Attachments
suriyan.0820.5422.zip
(9.48 KiB) Downloaded 197 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Wed Aug 20, 2014 1:23 pm

Thank you cap00k!

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

Can you please sign this one please?
Thanks
- Suriyan
Attachments
smdk5422-spl.bin.gz
(4.54 KiB) Downloaded 158 times
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Wed Aug 20, 2014 5:01 pm

signed bl2.bin
Attachments
suriyan.0820-1.5422.zip
(9.42 KiB) Downloaded 168 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Wed Aug 20, 2014 10:21 pm

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.
Attachments
sd_fuse.xu3.tgz
(197.6 KiB) Downloaded 255 times
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby odroid » Thu Aug 21, 2014 10:48 am

Good to know that you enabled the HYP mode! :)
User avatar
odroid
Site Admin
 
Posts: 28718
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Fri Aug 22, 2014 12:32 am

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
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby wombat » Mon Sep 01, 2014 10:57 am

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.
User avatar
wombat
 
Posts: 37
Joined: Mon Mar 10, 2014 9:43 am
languages_spoken: english
ODROIDs: Odroid-XU Odroid-XU+E 4412 Odroid XU3

Re: U-Boot SPL (BL2) signing here

Unread postby odroid » Mon Sep 01, 2014 11:12 am

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.
User avatar
odroid
Site Admin
 
Posts: 28718
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby wombat » Mon Sep 01, 2014 11:37 am

Thanks.

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


This enables HYP mode for the XU3, with a slightly different patch from Fanta's.
User avatar
wombat
 
Posts: 37
Joined: Mon Mar 10, 2014 9:43 am
languages_spoken: english
ODROIDs: Odroid-XU Odroid-XU+E 4412 Odroid XU3

Re: U-Boot SPL (BL2) signing here

Unread postby toadstool » Tue Sep 16, 2014 9:23 pm

Hello,

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

Thanks!
Attachments
tzsw.toadstool.tar.gz
(6.41 KiB) Downloaded 164 times
toadstool
 
Posts: 2
Joined: Tue Sep 16, 2014 9:20 pm
languages_spoken: english

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Wed Sep 17, 2014 2:25 pm

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,
Attachments
wombat.0901.5422.zip
(9.7 KiB) Downloaded 171 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Wed Sep 17, 2014 2:26 pm

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,
Attachments
toadstool.0916.5422.zip
(13.82 KiB) Downloaded 145 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby toadstool » Wed Sep 17, 2014 6:10 pm

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,
Attachments
toadstool-tzsw-0917.tar.gz
(7.13 KiB) Downloaded 148 times
toadstool
 
Posts: 2
Joined: Tue Sep 16, 2014 9:20 pm
languages_spoken: english

Re: U-Boot SPL (BL2) signing here

Unread postby akbennett » Thu Sep 25, 2014 5:48 am

Hi, Can you please sign this bl2?

Thanks
Attachments
smdk.zip
(14.18 KiB) Downloaded 144 times
akbennett
 
Posts: 1
Joined: Thu Sep 25, 2014 5:34 am
languages_spoken: english
ODROIDs: xu, u2, xu3

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Thu Sep 25, 2014 11:21 am

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,
Attachments
toadstool.tzsw.0917.5422.zip
(14.62 KiB) Downloaded 146 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Thu Sep 25, 2014 11:21 am

akbennett wrote:Hi, Can you please sign this bl2?

Thanks
Attachments
akbennett.bl2.0925.5422.zip
(9.68 KiB) Downloaded 141 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Sat Nov 29, 2014 4:48 am

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
Attachments
smdk5422-spl.bin.gz
(4.61 KiB) Downloaded 124 times
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Mon Dec 01, 2014 10:51 am

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
Attachments
suriyan.bl2.1129.5422.zip
(9.78 KiB) Downloaded 131 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Mon Dec 01, 2014 1:00 pm

Thanks cap00k! It works like a charm!
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby odroid » Tue Dec 02, 2014 6:30 pm

Hi Suriyan,
What is the size of u-boot partition you changed?
Many people need 1MByte for the U-boot Mainline tree.
User avatar
odroid
Site Admin
 
Posts: 28718
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby mdrjr » Wed Dec 03, 2014 2:05 am

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.
mdrjr
Site Admin
 
Posts: 11690
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Wed Dec 03, 2014 5:53 am

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.
Last edited by suriyan on Wed Dec 03, 2014 12:22 pm, edited 1 time in total.
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Wed Dec 03, 2014 7:39 am

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
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Wed Dec 03, 2014 8:17 am

Hello cap00k,
Can you please sign this bl2. It allows for a 1MB U-Boot image.
Thanks
- Suriyan
Attachments
smdk5422-spl.bin.gz
(4.6 KiB) Downloaded 164 times
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Wed Dec 03, 2014 12:23 pm

suriyan wrote:Hello cap00k,
Can you please sign this bl2. It allows for a 1MB U-Boot image.
Thanks
- Suriyan
Attachments
suriyan.bl2.1203.5422.zip
(9.78 KiB) Downloaded 146 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Wed Dec 03, 2014 12:43 pm

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
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby odroid » Wed Dec 03, 2014 3:11 pm

I found your post.
viewtopic.php?f=98&t=7388

Really appreciate your great development.
User avatar
odroid
Site Admin
 
Posts: 28718
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Thu Dec 04, 2014 1:57 am

odroid wrote:I found your post.
viewtopic.php?f=98&t=7388

Really appreciate your great development.

Thanks odroid for your kind words.
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Wed Dec 10, 2014 3:54 pm

Hello cap00k,
Can you please sign this BL2. I am checking if mainline's BL2 can be used.

Thanks
- Suriyan
Attachments
smdk5422-spl.bin.gz
(5.38 KiB) Downloaded 148 times
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Wed Dec 10, 2014 5:15 pm

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
Attachments
suriyan.bl2.1210.5422.zip
(11.31 KiB) Downloaded 134 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Thu Dec 11, 2014 1:48 am

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.
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Fri Dec 12, 2014 9:00 am

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
Attachments
smdk5422-mainline-spl.bin.gz
(5.26 KiB) Downloaded 135 times
smdk5422-spl.hk.xu3.bin.gz
(4.62 KiB) Downloaded 127 times
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Fri Dec 12, 2014 11:57 am

Attached the signed files
Attachments
suriyan.bl2-hkxu3.1212.5422.zip
(9.88 KiB) Downloaded 163 times
suriyan.bl2-mainline.1212.5422.zip
(11.13 KiB) Downloaded 152 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby suriyan » Sat Dec 13, 2014 4:40 am

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.
suriyan
 
Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1

U-Boot SPL (BL2) signing here

Unread postby LifeIsBeautiful » Fri Dec 19, 2014 6:40 pm

Hello Odroid. can you please sign the attached bl2 file
Thanks
Attachments
smdk5422-spl.zip
(4.18 KiB) Downloaded 147 times
LifeIsBeautiful
 
Posts: 12
Joined: Tue Sep 02, 2014 6:37 pm
languages_spoken: english
ODROIDs: Odroid-U3

Re: U-Boot SPL (BL2) signing here

Unread postby odroid » Fri Dec 19, 2014 7:48 pm

We can sign it early next week.
It already PM 8:00 Friday in Korea. ;)
User avatar
odroid
Site Admin
 
Posts: 28718
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Mon Dec 22, 2014 10:41 am

Attached the signed files
Attachments
LifeIsBeautiful.bl2.1219.5422.zip
(8.9 KiB) Downloaded 172 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby LifeIsBeautiful » Tue Dec 23, 2014 5:23 pm

Thanks for signing, I need to upload one more built, but "POSTREPLY"(full editor) option is not working. Any one facing the same issue.
LifeIsBeautiful
 
Posts: 12
Joined: Tue Sep 02, 2014 6:37 pm
languages_spoken: english
ODROIDs: Odroid-U3

Re: U-Boot SPL (BL2) signing here

Unread postby odroid » Tue Dec 23, 2014 5:32 pm

Our forum DB seems to be corrupted some where.. :(
Work around..
Quick-reply and edit it. :P
User avatar
odroid
Site Admin
 
Posts: 28718
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby LifeIsBeautiful » Tue Dec 23, 2014 7:27 pm

Hello Odroid,
can you please sign the attached BL2
Attachments
smdk5422-spl.zip
(4.63 KiB) Downloaded 140 times
LifeIsBeautiful
 
Posts: 12
Joined: Tue Sep 02, 2014 6:37 pm
languages_spoken: english
ODROIDs: Odroid-U3

Re: U-Boot SPL (BL2) signing here

Unread postby myworktask » Thu Jan 29, 2015 8:27 pm

Hello Odroid team

can you please sign this bl2?

thank you
Attachments
smdk5422-spl.zip
(4.69 KiB) Downloaded 141 times
myworktask
 
Posts: 84
Joined: Mon Oct 13, 2014 8:20 pm
languages_spoken: english
ODROIDs: XU3 , XU

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Fri Jan 30, 2015 2:09 pm

LifeIsBeautiful wrote:Hello Odroid,
can you please sign the attached BL2
Attachments
LifeIsBeautiful.bl2.1223.5422.zip
(9.71 KiB) Downloaded 144 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Fri Jan 30, 2015 2:09 pm

myworktask wrote:Hello Odroid team

can you please sign this bl2?

thank you
Attachments
myworktask.bl2.0129.5422.zip
(9.61 KiB) Downloaded 158 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby moslab » Wed May 13, 2015 5:57 am

Hello Odroid team,

Can you sign this tzsw for me?

Thanks!
Attachments
tzsw_unsigned.zip
(394 Bytes) Downloaded 146 times
moslab
 
Posts: 2
Joined: Wed May 13, 2015 5:49 am
languages_spoken: english
ODROIDs: xu3

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Wed May 13, 2015 2:41 pm

moslab wrote:Hello Odroid team,

Can you sign this tzsw for me?

Thanks!
Attachments
moslab.tzsw.0513.5422.zip
(1.24 KiB) Downloaded 150 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby moslab » Fri May 22, 2015 10:46 am

Thank you cap00k,

Can you also sign this bl2 for me?
Attachments
bl2.zip
(4.71 KiB) Downloaded 165 times
moslab
 
Posts: 2
Joined: Wed May 13, 2015 5:49 am
languages_spoken: english
ODROIDs: xu3

Re: U-Boot SPL (BL2) signing here

Unread postby cap00k » Fri May 22, 2015 11:58 am

moslab wrote:Thank you cap00k,

Can you also sign this bl2 for me?
Attachments
moslab.bl2.0522.5422.zip
(9.69 KiB) Downloaded 150 times
cap00k
 
Posts: 64
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID

Re: U-Boot SPL (BL2) signing here

Unread postby traray » Fri May 29, 2015 8:43 am

Hello, Odroid

Could you please sign this bl2?

Thank you so much!
Attachments
smdk5422-spl.bin.gz
(4.55 KiB) Downloaded 149 times
traray
 
Posts: 1
Joined: Fri May 29, 2015 8:38 am
languages_spoken: english
ODROIDs: xu3

Next

Return to Projects

Who is online

Users browsing this forum: No registered users and 1 guest