Xilinx FSBL documentation - xilinx

May be anyone knows where to find any documentation concerning FSBL. I'm trying to rewrite existing default first step boot loader. I have done few attempts to understand how it works (in debug mode), but debug mode always stops after
/*
* Register the Exception handlers
*/
RegisterHandlers();
The device reboots, and i still have no idea why.
I'm using xilinx sdk 2014.1, the device connected with xilix platform cable usb II.

Passed almost 3 years, but now we have access to the XILINX FSBL documentation

Related

Jmeter- iOS app recording doesn't work for Native app

I have an iOS app for which performance has to be monitored.I have done the required settings for Jmeter setup in Mobile device(Setting up proxy,certificate installation etc) but some action recording works and for some it doesn't work e.g Login.
I have tried using these different ways
1.I have tried recording the app from different network apart from current settings
2.I have tried using Blaze meter to record app
3.I have tried recording from Windows and Mac device.
Could anyone provide any suggestion on what might be the reason for failure.
JMeter version 5.2.1
Java 9.0.4
iOS 14.2
As per Recording Using Apple Devices guide you need to enable full trust for the JMeter's certificate
Also make sure that the certificate is still valid (i.e. not expired) as it's life time is 7 days only
If the above steps don't help - check jmeter.log file, it normally contains sufficient troubleshooting information.

Jailbroken detection failed with liberty lite

Recently faced a issue securing iOS Application with Jailbreak detection on OS 12.1 with Liberty Lite enabled
I have jailbreak detection in AppDelegate and initial ViewController where I test following
File existence for below paths
/Applications/Cydia.app
/private/var/stash
/private/var/stash
/private/var/tmr/stash
/private/var/lib/cydiar/stash
/private/var/mobile/Library/SBr/stash
/Library/MobileSubstratr/stash
/Library/MobileSubstrate/DynamicLibrr/stash
/Library/MobileSubstrate/DynamicLibrarr/stash
/System/Library/LaunchDaemonr/stash
/System/Library/LaunchDaemons/com.sar/stash
/var/car/stash
/var/lir/stash
/var/lir/stash
/var/lor/stash
/var/tmr/stash
/bin/bashr/stash
/bin/shr/stash
/usr/sr/stash
/usr/liber/stash
/usr/bir/stash
/usr/libexer/stash
/etc/ssr/stash
/etr/stash
I test if application canOpenURL Schema "cydia://package/com.example.package"
Write file to stringToWrite.write(toFile:"/private/photos.txt"
Liberty Lite is able to bypass all 3 checks and let run the application on a Jailbroken device, is there any other way I can detect such by passing tweaks(Liberty Lite) and stop the application from running on a Jailbroken device
Essentially, no.
Any form of jailbreak check can be relatively easily worked around and a motivated user can always make another tweak for whatever check you might be using at the time. Consider it similar to attempts to prevent cracks for different software, it's just a game of whack-a-mole where the developing side is losing.
I wrote an article about this some time ago if you're interested into details of why this can't work.
Checkout this library here. Liberty detection is managed to be detected with the method isInjectedWithDynamicLibrary().
I have personally tested, and it works with my app on iOS 12.1.2 (iPhone 7).

How can I get live console output when device is connected to another hardware device?

So I'm trying to make an application using the DJI SDK. In order for my app to function properly, my iDevice needs to be hooked up to the remote controller of the drone via USB.
This means I can't also run the app via xcode and get console output.
Is there a way of saving console output when using an app on your phone? I am aware of the crash logs, but sadly they don't provide enough info to be useful to me.
This problem started when I got a runtime error only when the device was connected to the remote controller. Therefore there was no way of isolating the problem since I couldn't tell what went wrong.
Another solution would maybe be a 1 female to 2 male usb chord, but I haven't found one online yet and even if I did I don't know if that would work.
Is there a standard way of debugging when using hardware that needs to be connected to the device?
from Xcode, hit window on the tool bar at the top, then Devices. Select the device you want to read the log from. However, this is the log for the entire phone, and you have to be plugged into the mac... so you'll have to run your tests, unplug from the DJI, plug into the mac, go to devices, and scroll through the log until you find the output from your app, and you won't be able to see real time expected outcome.
It's not ideal, but that's the only way I know of to see the apart from building an entire console log into your app yourself.

PhoneGap app (for apple) doesn't work

I am new to phonegap and coding so I am unaware as to how to use PhoneGap. First of all what I did was connect my PhoneGap (desktop) app thing to my iPhone PhoneGap developers app. On my iPhone it just says downloading... there is nothing else happening. I then tried using an Android phone to see if it works but it just says
unable to download archive from the server.
unable to properly connect to the server.
I dont know what to do so any help will be appreciated.
This can be caused by many things.
I assume you followed the steps from http://app.phonegap.com/ site:
you have created a phonegap app (at least a sample one using 'phonegap create')
you have a server running (using phonegap desktop or 'phonegap serve' from command line)
There are some things you have to check in order to know what is wrong:
Both the devices must be in the same network to 'see' each other.
The firewall is turned off or allows communication on the port the server is running on (default is port 3000)
Check if your antivirus isn't blocking the same port.
If you still have no connection here is the survey/checklist you should go through. It helps you get closer to the center of the problem you have (points: 7-11).
If that does not help you can always fill an issue (and attach above-mentioned survey) but I strongly recommend reading documentation first

How to launch my app on connecting to USB?

I want to enable my app to launch when the USB connects. I imagine there are two approaches to this, the first having some sort of external monitoring process which is always running and checking for such an event, the second would be a process within the app itself.
Having spent the whole day on Google, I first thought I could use the ExternalAccessory.framework to monitor the USB port. However, the only examples I've seen is when the app is already running. Is there any process I can use that will allow me to add my app for launching when the iOS starts syncing?
Alternatively, is it possible to use ExternalAccessory for this purpose and I'm just going about it the wrong way?
Looking at the comments above, the comments by cmyr are indeed correct and as correctly pointed out by Larme, the only solution is to use MFi which can configure the USB device as a custom setting which will always prompt the iOS as a connection.

Resources