-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Running OPTEE on Raspberry Pi 3 with other root-fs #1398
Comments
As it turns out, there was some problem with the file system. So, it is working for now. I will try to flash it again to make sure that I get this step working properly. But now, I am not able to load Also, I do not see any eth0 interface. I tried |
To me this sounds like the kernel hasn't loaded OP-TEE, what does this say?
|
@jbech-linaro
I had to type out the result. Is there a better way to log the messages? I am using HDMI display to access the system. Also, I am not able to create any file. I tried Based on the steps I mentioned earlier, have I setup the system correctly? |
Alright, the driver seems OK, so then we can rule out that. I'm on a business trip, I'll see if I can have a closer look at it next week when I'm back home.
I use the UART, but something like
should work I think. |
@jbech-linaro |
@utkarshagrawalwsu , I'm sorry to say, but I haven't had time to follow up this. We're about to do a new OP-TEE release (scheduled for April 7th). Even though we use the CPIO archive for testing. I'm pretty sure we will try NFS also. I'll keep you posted. |
@jbech-linaro I managed to use QEMU to meet my requirements. Though, next I will be trying to run everything on the Raspberry Pi 3 again. It would be great if I can get the Ubuntu version to work on the Pi. Also, can you help me to resolve the eth0 issue? |
Regarding your ethernet issue, do you have eth0 device in your
if not, could you please provide output of this command also:
|
Hey @igoropaniuk ! Apologies for the late reply. Output of
Output of
Output of
|
Hi @utkarshagrawalwsu , Seems that everything is fine. So you just need to run
Example:
|
Hello @igoropaniuk The command worked! Thank you so much for the help. Is it normal to not to have it already initialized when booting the system? Also, I tried running |
it shouldn't, until you write correct GET request (as you are opening a TCP connection to the HTTP server)
Try BTW, there are new updates for RPi3 setup (linaro-swg/gen_rootfs#21, OP-TEE/build@48ade15), maybe it will help to avoid additional keyboard and display issues in the future. |
When
So in different boot modes we use different ways of bringing up networking, so it was one of the reasons to avoid autostarting this script by default. |
Hello @igoropaniuk I have been going back and forth between QEMU and Pi, and because ping doesn't work in QEMU, I think I made an assumption in my mind that ping wont work in Pi. I used the updated setup. Thank you for the explanation about the script. |
hi @utkarshagrawalwsu ,
Could you please also share your current BTW, I was wrong about
|
I did read the networking documentation, and that's why somehow I made the silly assumption in my head. Well, I followed the norm to search before creating an issue, and I found your answer to get the Is there any other debug information I can provide so solve the keyboard interrupt issue? Thank you for clarifying the Thank You |
Sorry for the late answer.
To my mind, previous questions aren't somehow related specifically to OP-TEE, it's more generic linux knowledge. Or I didn't get what you meant about the information in the code Best regards, |
Hey @igoropaniuk It might be Linux knowledge. I am not so well versed with Linux internals. I just didn't understand where did you exactly "check" about the Also, I am still unable to use the keyboard interrupt. Any suggestions on it? |
@utkarshagrawalwsu Were you able to setup apt-get? |
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time. |
Hello,
I am trying to run OPTEE on Raspberry Pi 3.. I am able to run it with the simple CPIO archive. But it limits me for developing further with that system as a base.
I tried following the instructions under 5.7 at
https://github.com/OP-TEE/build/blob/master/docs/rpi3.md
I am trying to accomplish that without NFS Boot, and would just like to do it through SD card.
I downloaded the Ubuntu based root-fs (linaro-vivid). Extracted it. Copied all the folders from
linaro-vivid-developer-20151215-114.tar.gz
(except boot folder) toSD Card/rootfs
, and the boot folder from.../gen_rootfs/filesystem.cpio.gz
toSD Card/BOOT
Also, I copied the necessary files as mentioned at 5.7:
Then you need to copy xtest and tee-supplicant to <NFS>/bin/, copy libtee.so* to <NFS>/lib/ and copy all *.ta files to <NFS>/lib/optee_armtz/
As I was afraid, it does not boot up the Pi3.
I know that I could be doing some steps totally wrong, as I am not experienced with booting custom file systems etc at all.
Any help with this would be appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: