nikkatsa7 / HOG_Zedboard

A real time Histogram of Oriented Gradients Implementation on FPGA
MIT License
30 stars 11 forks source link

ARM Login #2

Open Tomhariless opened 5 years ago

Tomhariless commented 5 years ago

Hi, I am trying to use the kernel and the roots on the SD card. I get the system booted, but have a problem with the arm login. Could you provide the user name and the password so that I can actually run the system please

nikkatsa7 commented 5 years ago

Hi! As you can see on this page, you must use the default username ubuntu and the password temppwd.

Tomhariless commented 5 years ago

Many thanks for the password and username, I have successfully login to the system. Then I tried to use the make command to build the executable file of HOG, and it succeeded. However, when I use ./HOG to run the application, it returns me an error as Memory mapping couldn't be performed.

terminate called after throwing an instance of 'std::runtime_error' what(): Memory mapping couldn't be performed Aborted (core dumped)

I just wonder if you have come across the same problem before or is there any solution for that?

nikkatsa7 commented 5 years ago

Try: sudo ./HOG.

Tomhariless commented 5 years ago

Wow, that's a quick reply. I have tried sudo, but it seems like the ubuntu is complain about: ####################### sudo must be owned by uid 0 and have the setuid bit set ####################### I have also view the dmesg of the system. I think my camera is not right initialized. ############################# uvcvideo 1-1:1.0: Entity type for entity Extension 4 was not initialized! [ 898.925592] uvcvideo 1-1:1.0: Entity type for entity Processing 3 was not initialized! [ 898.925604] uvcvideo 1-1:1.0: Entity type for entity Camera 1 was not initialized! [ 898.928393] input: USB 2.0 Camera as /devices/soc0/amba/e0002000.usb/ci_hdrc.0/usb1/1-1/1-1:1.0/input/input2 ######################################################### I am new on the embedded linux, sorry for too much question.

dorin-ionita commented 4 years ago

Tomhariless, did you manage?

Tomhariless commented 4 years ago

Hi Dorin,

I have not manage that. Unfortunately, the sudo problem is still there. I used the petalinux to build another Linux application,with my customized hardware platform on Zedboard.

Dorin Ionita notifications@github.com 于2019年12月24日周二 上午1:58写道:

Tomhariless, did you manage?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nikkatsa7/HOG_Zedboard/issues/2?email_source=notifications&email_token=ALGTAXFU4P4X223GUJJNMCDQ2FUELA5CNFSM4GS7XMVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHSISKQ#issuecomment-568625450, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALGTAXDV5XDVJSQON3C7FMTQ2FUELANCNFSM4GS7XMVA .