ODROID-XU3 System Encryption (question on UBoot)

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

ODROID-XU3 System Encryption (question on UBoot)

Postby tkh » Sun Dec 21, 2014 2:13 am

Hi there!

I am a newbie in ARM development, though I do have some experience in x86.

I am setting up rootfs on encrypted LVM. My problem is that the designated partition doesn't seem to be accessible. The booting got stuck on waiting for the rootfs. It seems to me that the boot process skip the decryption straight to mounting attempt.

I got it all set up. I generated an initramfs with encrypt and lvm2 hooks included. The boot.ini file has been edited to include initrd, cryptdevice, and cryptkey options. While the initrd option seems to work, the other two didn't seem like it.

I have no experience with UBoot, but I've tinkered with GRUB. It seems that not everything that works on GRUB can be applied to UBoot. From my observation, some of the options that I put on bootargs doesn't work. Beside the mentioned cryptdevice and cryptkey options, I had also tried debug, break, and ignore_loglevel options. None of these seem to affect anything. This lead me to a conclusion that none of these options were processed.

I am positive that the problem resides in the boot.ini file; specifically on the bootargs. I am in need of feedback. Any word on this would be appreciated.

Thank you
tkh
 
Posts: 3
Joined: Fri Dec 19, 2014 10:25 pm

Re: ODROID-XU3 System Encryption (question on UBoot)

Postby WarheadsSE » Sun Dec 21, 2014 4:06 pm

I am not sure, but I think you need an initramfs ... Which we don't ship out of the box.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ODROID-XU3 System Encryption (question on UBoot)

Postby tkh » Sun Dec 21, 2014 8:19 pm

Thank you for your reply.
$this->bbcode_second_pass_quote('WarheadsSE', 'I') am not sure, but I think you need an initramfs ... Which we don't ship out of the box.

Yes, I do have initramfs. If you look closely I did mentioned it.
tkh
 
Posts: 3
Joined: Fri Dec 19, 2014 10:25 pm

Re: ODROID-XU3 System Encryption (question on UBoot)

Postby tkh » Fri Jan 16, 2015 2:35 am

Anyone?
tkh
 
Posts: 3
Joined: Fri Dec 19, 2014 10:25 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 16 guests