android.exe improvements

3 views
Skip to first unread message

Jamey Hicks

unread,
Apr 1, 2015, 9:17:00 PM4/1/15
to connectal

If you update connectal from git or install the latest package (v15.03.12) you will need to update boot.bin to zynq-boot version v15.03.8 or newer. Prebuilt images are available here:


I made several changes to zynq-boot, fpgajtag, and run.android so that run.android can run the application as the default non-root user.

Summarizing some of the recent changes:
  • programmable logic is packaged in android.exe
  • android.exe invokes fpgajtag to program the logic
  • fpgajtag is now setuid root, so that it can access /dev/xdevcfg
  • fpgajtag is now located in /fpgajtag (part of boot.bin) because /mnt/sdcard is vfat/msdos and does not support setuid bit
  • as part of cleanup, init process loads modules portalmem.ko and zynqportal.ko
  • this removes several steps from run.android
If you run the application on a zynq board manually, the only thing you need to do is invoke android.exe. It will automatically program the logic using the attached bitstream. I am very happy that we eliminated all the extra steps that used to be required.

Cheers,
Jamey

Reply all
Reply to author
Forward
0 new messages