Dear devs,
Thanks for the help, i can now run ATF and our Hypervisor like a charm!
Since I had a overwhelmingly friendly response yesterday I will try your patience with another problem.
I have a binary that I want to flash (and later read from the ACPUs).
How do I do that ?
Best Regards,
Stefan
PS.
I suspect it has something to do with partition tables and stuff, I went through fastboot-docs and tried to find flash memory map, but i came up with nothing.
On Thu, 2015-06-04 at 11:39 +0000, Stefan Johansson wrote:
Dear devs,
I have a binary that I want to flash (and later read from the ACPUs).
How do I do that ?
You can either flush your binary into one partition directly or store it the partition with mounted filesystem.
1. Flush one binary into one partition directly. You could find all partitions in $96boards/l-loader/generate_ptable.sh. You could only make use of "reserved" partition that is 256MB large.
2. Store one binary file in the filesystem. You could make use of a few partitions. In our debian system, you could make use of "boot" & "system" partitions. "boot" partition is FAT format, and "system" partition is EXT4 format. In our android system, you could make use of "boot", "system" and "userdata" partitions. "boot" partition is FAT format. "system" and "userdata" partitions are EXT4 format.
3. Format "reserved" partition with any filesystem format. And store your binary in it.
For #1, you could make use of fastboot protocol to flush any binary into it. And you must know the size of the binary and load it by yourself.
For #2 & #3, you'd better to boot debian or android system. Then you could copy your binary file into the your expected partition.
Best Regards Haojian