Giter VIP home page Giter VIP logo

documentation's Introduction

title permalink redirect_from toc
Documentation
/documentation/
/documentation/README.md/
false

Welcome to the official documentation for 96Boards, this documentation is written by the 96Boards team at Linaro with community contribution and links to third party material.

Select your platform for a list of supported products (left), or jump to 96Boards specific resources by selecting a board from the list (right).

Important links:

Platform Description Boards
IoT Edition
Expand on all 96Boards with new interfaces for IoT, industrial
control, and other embedded applications.
View Boards
Consumer Edition

These small, low-cost, and low-power consumer 96Boards
are great for developers, makers, and hobbyists!
View Boards
Guides
Compare
Enterprise Edition
These powerful, reliable, ARM based 96Boards boards are
ideal targets for networking and server segments
View Boards
Mezzanine
Expand on all 96Boards with new interfaces for IoT,
industrial control, and other embedded applications.
View Boards
{:.table}


More

  • Linaro
    • Linaro brings together industry and the open source community to work on a wide variety of projects and tools to reduce industry wide fragmentation and redundant effort, and provide common software foundations for everyone.
  • 96Boards
    • The first open specification to define a platform for the delivery of compatible low-cost, small footprint 32-bit and 64-bit Cortex-A boards from a range of ARM System on Chip (SoC) vendors
  • Report a bug
    • Instructions on how to report bugs for any of our 96Boards hardware and software
  • Contribution Policy and Guide
    • View our documentation "Contribution Policy" and learn how you can contribute
  • Specifications
    • Low cost an server hardware platform specifications

License

Unless otherwise specified, everything in this repository is covered by the following licence:

Creative Commons Licence

96Boards Documentation by 96Boards is licensed under a Creative Commons Attribution 4.0 International Licence.

Based on a work at https://github.com/96Boards/documentation


documentation's People

Contributors

b49020 avatar bhfletcher avatar blimjoe avatar daniel-thompson avatar dbharbin avatar dmandala avatar docularxu avatar ericbureaud avatar fboudra avatar freedomtan avatar idlethread avatar iha avatar johnstultz-work avatar lumag avatar mani-sadhasivam avatar masahisak avatar nazik5 avatar ndechesne avatar pcolmer avatar philip-linaro avatar radhikap18 avatar ric96 avatar sgermanserrano avatar shawnguo2 avatar shovanco avatar stepheninvamrs avatar stricted avatar theodorertg avatar todortomov avatar vchong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

documentation's Issues

"fastboot oem serialno" gets "FAILED (remote: OEM Command not recognised.)"

Hello, I want to change the device id outputed by "fastboot devices".
I did it as follows:
1 built edk2 according to https://github.com/96boards/documentation/wiki/HiKeyUEFI . (modify the ptable as "sudo PTABLE=aosp-8g bash -x generate_ptable.sh")
2 replaced the EFI/BOOT/fastboot.efi by new built AndroidFastbootApp.efi in boot_fat.uefi.img in https://github.com/96boards/documentation/wiki/HiKey-RP-Download#your-build-choice-1
3 flashed l-loader.bin, ptable-linux.img, fip.bin of new built edk2
4 flashed the new boot_fat.uefi.img
5 flashed cache.img, system.img userdata-8gb.img in https://github.com/96boards/documentation/wiki/HiKey-RP-Download#your-build-choice-1

I got three problem:
1 "fastboot oem serialno" gets "FAILED (remote: OEM Command not recognised.)"
2 "fastboot getvar SerialNo" get "SerialNo:
finished. total time: 0.001"
3 kernel panic

How can I get the unique device serialno or set it, and resolve the kernel panic problem ?
Thanks very much !

poplar - missing info what mfg:pn is used for j14, j15

i can't identify which manufacturer and which partnumber is used for non-standard jtag and uart connectors:

j14 (jtag - SDW12501A_8A_HW in schematics) and

j15 - (uart - SDW12501_4A_HW).

bill of material for poplar whould be nice, or list of appropriate headers for all connectors used in poplar.

android-6.0.1_r16 build error "unknown type configfs"

Hi,

https://github.com/96boards/documentation/wiki/CE-AOSP-RPB-HiKey-15.12-Build

I follow the steps to build android-6.0.1_r16 but get this error.

Does anyone know how to fix it? Thanks.

Aidl Preprocess: out/target/common/obj/framework.aidl
host Executable: backtrace_test_32 (out/host/linux-x86/obj32/EXECUTABLES/backtrace_test_intermediates/backtrace_test32)
Install: out/host/linux-x86/lib/libbacktrace.so
host SharedLib: libbacktrace (out/host/linux-x86/obj/lib/libbacktrace.so)
Install: out/host/linux-x86/lib64/libbase.so
Host TableGen: libLLVMWrap (gen-intrinsic) <= frameworks/compile/libbcc/bcinfo/Wrap/../../../../../external/llvm/include/llvm/IR/Intrinsics.td
Host TableGen: libLLVMBitReader_2_7 (gen-intrinsic) <= frameworks/compile/libbcc/bcinfo/BitReader_2_7/../../../../../external/llvm/include/llvm/IR/Intrinsics.td
Host TableGen: libLLVMBitReader_3_0 (gen-intrinsic) <= frameworks/compile/libbcc/bcinfo/BitReader_3_0/../../../../../external/llvm/include/llvm/IR/Intrinsics.td
Host TableGen: libLLVMBitWriter_3_2 (gen-intrinsic) <= frameworks/compile/slang/BitWriter_3_2/../../../../external/llvm/include/llvm/IR/Intrinsics.td
Host TableGen: libbccCore (gen-intrinsic) <= frameworks/compile/libbcc/bcinfo/Wrap/../../../../../external/llvm/include/llvm/IR/Intrinsics.td
Install: out/host/linux-x86/bin/dalvikvm64
host SharedLib: libart (out/host/linux-x86/obj/lib/libart.so)
Install: out/host/linux-x86/lib64/libziparchive-host.so
Install: out/host/linux-x86/bin/fastboot
Copy: out/host/linux-x86/obj/EXECUTABLES/ld.mc_intermediates/Options.inc
Install: out/host/linux-x86/bin/make_ext4fs
Install: out/host/linux-x86/bin/simpleperf
Install: out/host/linux-x86/bin/tzdatacheck
Install: out/host/linux-x86/framework/hierarchyviewer.jar
Install: out/host/linux-x86/lib/libicui18n-host.so
host SharedLib: libjavacrypto_32 (out/host/linux-x86/obj32/lib/libjavacrypto.so)
host SharedLib: libsqlite_jni_32 (out/host/linux-x86/obj32/lib/libsqlite_jni.so)
Install: out/host/linux-x86/lib64/libicui18n-host.so
host SharedLib: libjavacore (out/host/linux-x86/obj/lib/libjavacore.so)
host SharedLib: libsqlite (out/host/linux-x86/obj/lib/libsqlite.so)
target SharedLib: libc_32 (out/target/product/hikey/obj_arm/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)
Install: out/target/product/hikey/system/lib/libdl.so
target SharedLib: libc (out/target/product/hikey/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)
Install: out/target/product/hikey/system/lib64/libdl.so
out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/hikey/obj/ETC/sepolicy_intermediates/policy.conf
Writing local settings in /home/ieei/.jack
device/linaro/hikey/sepolicy/init.te:3:ERROR 'unknown type configfs' at token ';' on line 13742:

init.hikey.usb.rc writes to /config/* to set up USB

allow init configfs:dir { create reparent rename rmdir setattr { { open getattr read search ioctl } { open search write add_name remove_name } } };
checkpolicy: error(s) encountered while parsing configuration
make: *** [out/target/product/hikey/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Waiting for unfinished jobs....
Stopping background server
ERROR: No Jack server running
Killing background server
ERROR: No Jack server to kill
touch out/host/common/obj/JAVA_LIBRARIES/jack_intermediates/kill_server.stamp
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

hisilicon poplar kernel source

Could someone here please let me know where to find the kernel source and if possible the vendor binaries and device tree for the new TV platform 96 board linaro hisilicon poplar? Thank you in advance. I'm excited to get my current Android TV builds ported to the poplar.

Buffer overflow in toggly code sample

In the Linux User Guide for Dragon Board (P22/26):
https://github.com/96boards/documentation/blob/master/ConsumerEdition/DragonBoard-410c/Guides/LinuxUserGuide_DragonBoard.pdf

The toggly src code define MAX_BUF as 10 bytes.
However this define is used to allocate buffers which need more memory in Write_GPIO and Read_GPIO functions. (snprintf).

This leads to stack corruption for the sample but also for users who base their own code on this sample.
https://discuss.96boards.org/t/bus-error-working-with-gpios/2704/6

A quick fix would be to define MAX_BUF as 100.
#define MAX_BUF 100

5.2.1 Installing ADB Drivers

the requested change of "android_winusb.inf" does not work as the installation fails with "The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering"

solution either sign the driver or disable driver signature verification...

No "edit me on github" links in the rendered documentation.

As I write http://www.96boards.org/documentation/IoTEdition/Carbon/Building/LinuxBuild/BuildShell.md/ is completely broken! I'm about to fix it... and I'm annoyed that I have to manually convert the link to take me to github.

These pages should embed a link somewhere to take interested parties to the github markdown editor... From a UI PoV I'm "expecting" a corner label an the top similar to the "Fork me on github" labels but encouraging editing instead (in fact it could be a Fork me on github label but point to the underlying markdown file allowing the github interface to offer the editing features).

Anyhow, as a user I'm annoyed at seeing my time wasted on something that should be automated ;-)

Android SD Install Image Not Working

All the steps to add Android to the board were followed (several times). I believe there is an issue with the Android Install img file. Perhaps the version on this site is missing boot files.

pdf damaged

documentation/Addenda/96BoardsCESpecification-CameraModuleInterfaceAddendum.pdf

This file is damaged, I can not preview online. Neither can open it after download file.

Broken navlink at the top of every page

Hi @shovanuk

Out of curiosity I ran a broken link checker across the static documentation...

I think it found a couple of real problems but it is hard to tell because there was so much noise. The noise comes because each generated page contains a broken link to itself as part of the generate navigation links.

For example:

http://www.96boards.org/documentation/ConsumerEdition/Bubblegum-96/GettingStarted/ has a proper nav link but this page contains raw .md links such as http://www.96boards.org/documentation/ConsumerEdition/Bubblegum-96/GettingStarted/PowerAdapter.md and this contains a broken link to (not quite) itself.

This is a such a common pattern that it makes it very hard to interpret the rest of the report. Can these self-links be removed?

Daniel.

fastboot <wating device>

HiKey620, Android, Ubuntu 16.04.02

when i flash with ./flash-all.sh /dev/ttyUSB0 [4g]
the output:

+----------------------+
 Serial:  /dev/ttyUSB0
 Image1:  l-loader.bin
 Image2:  
+----------------------+

Sending l-loader.bin ...
Done

and nothing else.

syslog after connect usb again:
---8<-----------------------------------------------------

May  8 14:59:13 depc232 kernel: [29562.595779] usb 8-2: new full-speed USB device number 34 using xhci_hcd
May  8 14:59:14 depc232 kernel: [29562.741816] usb 8-2: New USB device found, idVendor=12d1, idProduct=3609
May  8 14:59:14 depc232 kernel: [29562.741830] usb 8-2: New USB device strings: Mfr=1, Product=4, SerialNumber=0
May  8 14:59:14 depc232 kernel: [29562.741836] usb 8-2: Product: ㄰㌲㔴㜶㤸
May  8 14:59:14 depc232 kernel: [29562.741840] usb 8-2: Manufacturer: 䕇䕎䥎
May  8 14:59:14 depc232 kernel: [29562.743962] option 8-2:1.0: GSM modem (1-port) converter detected
May  8 14:59:14 depc232 kernel: [29562.744183] usb 8-2: GSM modem (1-port) converter now attached to ttyUSB0
May  8 14:59:14 depc232 mtp-probe: checking bus 8, device 34: "/sys/devices/pci0000:00/0000:00:10.1/usb8/8-2"
May  8 14:59:14 depc232 mtp-probe: bus: 8, device: 34 was not an MTP device
May  8 14:59:18 depc232 /usr/lib/snapd/snapd[958]: daemon.go:176: DEBUG: uid=1000;@ GET /v2/snaps 65.615µs 200

---8<-----------------------------------------------------

when i type sudo fastboot devices -l no devices are shown

when i type sudo fastboot flash ptable ptable-linux-4g.img it shown < waiting for device >

Mezzanine Products URL

Hi Robert,

Do you want to change the perma link of Mezzanine product?

permalink: /documentation/MezzanineProducts/ <<-- Current
permalink: /documentation/mezzanine-docs/ <<-- Requested

Thanks
Shovan

SoC_bubblegum96.pdf is lacking chapter information

The Actions Semi S500 manual PDF v1.5 dated 2015-11-30, as available through LeMaker, has a chapter structure so that one can jump directly to certain peripherals in a suitable PDF reader. The S900 manual v1.0 dated 2015-10-28 in this repository here is lacking such metadata and only shows page previews, making it rather hard to navigate.

Is there a chance the SoC_bubblegum96.pdf manual can be updated please?

No manuals are publicly available through actions-semi.com.

Final Broken Links before Workflow

There seems to be a couple of missing files for Bubblgum96 docs. Below is the output for the link checker regarding these missing files. I can fix if I know where the files are. Once these are fixed we can go ahead and get the CI turned on.

/documentation/ConsumerEdition/Bubblegum-96/GettingStarted/index.html -- Source
/documentation/ConsumerEdition/Bubblegum-96/GettingStarted/MonitorHDMI.md -- Destination

/documentation/ConsumerEdition/Bubblegum-96/GettingStarted/index.html -- Source
/documentation/ConsumerEdition/Bubblegum-96/GettingStarted/USBKeyBoardMouse.md -- Destination

/documentation/ConsumerEdition/Bubblegum-96/GettingStarted/index.html -- Source
/documentation/ConsumerEdition/Bubblegum-96/Installation/BoardRecovery.md -- Destination

AOSP build for DragonBoard 410C is not working now

I repo sync and build the AOSP, it failed for some dependence chaged. Below is how to fix them:

  1. compositor
    In external/drm_hwcompositor/Android.mk, Add following line to the LOCAL_C_INCLUDES:
    external/drm_gralloc \

This is caused by the drm_hwcompositor changes the drm to grm

  1. Append the CFlags for libdrm
    Add following to external/libdrm/Android.mk to fix the compile error, for the mix declaration and definition in libdrm code.
    LOCAL_CFLAGS += -std=gnu99

No/Only Limited video and audio on the HiKey

Hello, I am currently experience alot of trouble with the HiKey board, I'm working in a company and we're currently trying to evaluate the HiKey as one of our main development boards. The Boards look pretty good but we have some really serious problems regarding video and audio playback. The specification sheet says video and and audio decoding is support (at least h.264 and AAC audio) but all I can see is that video's stutter alot and if a video has audio it's not going to play at all. We're testing this on AOSP built of the Android OS and are using the build in video player and/or the ExoPlayer demo application. The main-goal we are trying to archive is running a custom built Android OS with full media support. We've successfully compiled several Android versions as of 6.0 , 6.0.1, 7.0 and 7.1 from AOSP source which all show this behavior furthermore being worse the newer we push the version but even the officially provided update package from google (which is still 5.0.1) will not play videos with audio but only without. We're using the fastboot method to update the HiKey. Can someone tell me if we're doing something wrong ? If we compile the OS from AOSP source do we have to include special media drivers or do we need to checkout a completely different repo ? , we followed the documentation closely provided on googles developer website and we we're able to compile alot of roms for other devices too. We would really like to use the device but in the state of right now it's absolutely unusable for us and kind of disappointing regarding the fact that it is googles "reference board", I hope we're just doing it wrong.

Best Regards,

repo sync fault!

during repo sync, following failure occurred !
I tried couple of times and got same errors.
reference: https://github.com/96boards/documentation/wiki/RPB-AOSP-DragonBoard410c-Build

remote: Counting objects: 28356, done
remote: Finding sources: 100% (936/936)
remote: Total 936 (delta 588), reused 936 (delta 588)
오브젝트를 받는 중: 100% (936/936), 1.27 MiB | 3.77 MiB/s, 완료.
델타를 알아내는 중: 100% (588/588), 로컬 오브젝트 202개 마침.
https://android.googlesource.com/platform/external/llvm URL에서
   809bc6fc398..fe560523d1e  lldb-master-dev     -> aosp/lldb-master-dev
   3cef9810b2a..922eae4d2ea  upstream-master     -> aosp/upstream-master
 * [새로운 태그]             android-cts-5.1_r23 -> android-cts-5.1_r23
 * [새로운 태그]             android-cts-6.0_r22 -> android-cts-6.0_r22
 * [새로운 태그]             android-cts-7.0_r13 -> android-cts-7.0_r13
 * [새로운 태그]             android-cts-7.1_r9  -> android-cts-7.1_r9

error: Exited sync due to fetch errors

This error is retured at " repo sync -j8" command.

Thanks,

OpenCL

Does the linux image have accelerated OpenCL/Drivers?

Image links in wiki page Dragonboard-410c-Installation-Guide-for-Linux-and-Android were broken

edk2-hikey installed but not shipped

Hello!
I'm getting this QA error building with poky for the hikey lemaker board.
I'm on branch krogoth for all my layers, and master for meta-96boards

edk2-hikey-0.0+AUTOINC+76c7cfcc22-bdec62eeb8-r0 do_package: QA Issue: edk2-hikey: Files/directories were installed but not shipped in any package:
  /usr
  /usr/lib
  /usr/lib/edk2
  /usr/lib/edk2/bl1.bin
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
edk2-hikey: 4 installed and not shipped files. [installed-vs-shipped]
ERROR: edk2-hikey-0.0+AUTOINC+76c7cfcc22-bdec62eeb8-r0 do_package: Fatal QA errors found, failing task.
ERROR: edk2-hikey-0.0+AUTOINC+76c7cfcc22-bdec62eeb8-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /home/yocto/hikey-build/tmp/work/hikey-poky-linux/edk2-hikey/0.0+AUTOINC+76c7cfcc22-bdec62eeb8-r0/temp/log.do_package.5204
ERROR: Task 77 (/home/yocto/poky/meta-96boards/recipes-bsp/uefi/edk2-hikey_git.bb, do_package) failed with exit code '1

as a quick fix I added
FILES_${PN} += "${libdir}/edk2/bl1.bin"
to the recipe.

As a side-note, when it fails, I have to rebuild (deploy) grub because grubaarch64 gets deleted during the do_deploy, this isn't really an issue but I thought it could be mentioned.

ps : I'm sorry I just saw I opened the issue in documentation, is it possible to move it to the main page or should I delete and recreate one?

Relative links are not being exported correctly

Just been talking to @lag-linaro .

Lee spotted a bunch of broken links in the 96Boards documentation and it turns out this is a bug in the way we are converting the markdown forest into HTML.

Specifically the HTML file for filename.md is placed into filename.md/index.html. This is a clever trick to allow direct links to .md filenames to work but breaks a number of links because ../ is not being prepended to all the relative links.

See http://www.96boards.org/documentation/ConsumerEdition/HiKey/Downloads/Debian.md/index.html for an example (the underlying link is ../Installation.md but this needs an extra ../ prepending for the link to work).

Android SD card image download points to wrong image

The Download link for the latest Android
http://www.96boards.org/db410c-getting-started/Downloads/Android.md/

is still pointing to 16.03:
builds.96boards.org/releases/dragonboard410c/qualcomm/android/16.03/dragonboard410c_sdcard_install_android-*.zip

instead of 16.06:
http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/

"Latest" points correctly to 16.06:
http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/latest/

Fix:
Update the "Download" link here:
https://github.com/96boards/documentation/blob/master/ConsumerEdition/DragonBoard-410c/Downloads/Android.md#sd-card-image

To point to the correct "latest" link rather than having the hard-coded value 16.03:
http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/latest/

SD Card Installation Guide Missing

Hello,

for some reason there is no SD Card installation guide anymore. If am on the following page: https://github.com/96boards/documentation/blob/master/ConsumerEdition/HiKey/Downloads/Debian.md and click on the 'Continue to Installation page' I end up on this page: https://github.com/96boards/documentation/blob/master/ConsumerEdition/HiKey/Installation/README.md . However, this page does only provide information on how to install Debian with the fastboot method. 8-9 months ago you had a guide for the SD Card installation. Where did you put the guide? Why is the SD Card installation guide missing?

URL Changes

There has been a recent permalink change that has subsequently broken the build as many other pages are using the old permalink still. In the future can we make sure that any permalink changes are submitted as a Pull Request and approved by either @shovanuk or myself so we can double check it before merging?

Many Thanks,

Kyle

Dragonboard GPT documentation is missing

I'm looking for the documentation to the Dragonboard GPT but all the links are non functioning. Here is a google cache of the page: http://webcache.googleusercontent.com/search?q=cache:il8ZmnqIC0EJ:www.96boards.org/documentation/ConsumerEdition/DragonBoard-410c/Configuration/GPT.md/+&cd=1&hl=en&ct=clnk&gl=ca

Here is the page not working: http://www.96boards.org/documentation/ConsumerEdition/DragonBoard-410c/Configuration/GPT.md/

This wiki page says it moved but 404's: https://github.com/96boards/documentation/wiki/Dragonboard-410c-GPT

The tools are still available so I think the documentation pages must have gotten deleted.

fastboot stuck on "waiting for devices"

I am trying to install Android on the lemaker hikey 8gb MMc version (I think it's 8gb, how do you check?). I can succesfully flash the ptable using: sudo fastboot flash ptable ptable-aosp-8g.img

then the light on the board comes on. I do sudo fastboot reboot, the light turns off, I check for the device with ls /dev/ttyUSB* and the output is:
/dev/ttyUSB0

But when I run the command: sudo fastbot flash fastboot fip.bin
The terminal hangs on "waiting for device"

The jumpers are in the correct position still (auto boot and bootloader select), and the output of the python script was:

sudo python hisi-idt.py -d /dev/ttyUSB0 --img1=l-loader.bin
[sudo] password for gerald: 
+----------------------+
(' Serial: ', '/dev/ttyUSB0')
(' Image1: ', 'l-loader.bin')
(' Image2: ', '')
+----------------------+

('Sending', 'l-loader.bin', '...')
Done

The output of the ptable command was:

sudo python hisi-idt.py -d /dev/ttyUSB0 --img1=l-loader.bin
[sudo] password for gerald: 
+----------------------+
(' Serial: ', '/dev/ttyUSB0')
(' Image1: ', 'l-loader.bin')
(' Image2: ', '')
+----------------------+

('Sending', 'l-loader.bin', '...')
Done

There is no output from:
sudo fastboot devices so it looks like it is not detecting the device at all.

Any solutions to this issue?

Thanks in advance :)

Dead links

The link to latest UEFI is wrong
Latest UEFI snapshot builds are published here. Download the following files:
leads to an empty directory.
http://builds.96boards.org/snapshots/hikey/linaro/uefi-openplatformpkg/latest/
?

Now skip to the Flash binaries to eMMC section. leads to a non-existent ID
https://github.com/96boards/documentation/wiki/HiKeyUEFI#flash-emmc
should be
https://github.com/96boards/documentation/wiki/HiKeyUEFI#flash-binaries-to-emmc-

There is no mention of how to tell whether to use 4G or 8G ptables.

There is also no mention of downloading boot-fat.uefi.img and no link to it.

Build instructions are not sufficient due to many missing files

Attempting to build from source using the steps as defined here is no longer sufficient. I have not quite made it so far to test anything other than building EDK. Using the recommended build command:

../uefi-tools/uefi-build.sh -c ../LinaroPkg/platforms.config -b RELEASE -a ../arm-trusted-firmware -s ../optee_os hikey

The first error is a simple pedantic one:

g++  -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/   -c -o VfrUtilityLib.o VfrUtilityLib.cpp
VfrUtilityLib.cpp: In member function ‘CHAR8* CVfrStringDB::GetVarStoreNameFormStringId(EFI_STRING_ID)’:
VfrUtilityLib.cpp:3287:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if (mStringFileName == '\0' ) {
                          ^~~~
make[2]: *** [<builtin>: VfrUtilityLib.o] Error 1

Changing this comparison to use 0 rather than the ASCII character \0 seemed to fix the problem. However, immediately following this fix we're met with another error:

build.py...
 : error 000E: File/directory not found in workspace
        OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKey.dsc is not found in packages path:
        /home/user/hikey_board/build/inaro-edk2/.

- Failed -

The first problem is that this seems to be a submodule of the 96boards-hikey/edk2 git repo. Since these are not cloned by default, adding --recursive to the git clone string should do the trick. However, after cloning the submodule the HiKey.dsc file was still not present. I poked around a bit I found this file over in the Linaro OpenPlatformPkg git repo. I then just cloned this repo over the (presumably older?) version included as a submodule.

cd linaro-edk2
https://git.linaro.org/uefi/OpenPlatformPkg.git/

Although this seemed to fix the problem above, the next problem is another missing file:

build.py...
/home/user/hikey_board/build/linaro-edk2/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKey.dsc(44): error 000E: File/directory not found in workspace
        ArmPkg/Library/ArmLib/ArmBaseLib.inf is not found in packages path:
        /home/user/hikey_board/build/linaro-edk2/.

- Failed -

I also managed to find these files, but as part of the Tianocore git repo. Adding this file results in more missing files. I stopped after a few iterations.

It seems the provided steps may be outdated. Or maybe we need to use an older version of uefi-tools? Could you provide an updated build guide?

EDIT:
Upon closer review, it seems like my cross-compiler is not being properly picked up by the UEFI build script. However, the build problems are unrelated.

Andoid install SD on DragonBoard 410c?

Help, how to install android?
after installation, only led4

https://github.com/96boards/documentation/wiki/Dragonboard-410c-Installation-Guide-for-Linux-and-Android#installing-image-using-an-sd-card-image

my step

  1. download imge: http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/
    i used all version, and always the result was one, led4 and no run

  2. write SD Card, I used ubuntu(Disk Image Write)

  3. set the S6 switch on the DB410c to: 0-1-0-0 {SD Boot switch set to “ON”}

  4. run install, after installation extract sd

  5. reboot

led4 and no run (((

ps: Debian is installed immediately without any problems. but I need android

HiKey: issue starting linux kernel with Android + OP-TEE

Hi,

I'm fighting by trying to setup and to use Android + optee on HiKey.
I tried two setup:

  • Android 6.0 + kernel 4.1 + op-tee
  • latest: Android 7.0 + kernel 4.9 + op-tee
    I'm using Lemaker version of HiKey, (8GB eMMC, 2G of RAM). I have connected serial line on UART3
    All ASOP images and op-tee compiled fine, etc.

When I run them, in both case, I can see TEE started (I have some TEE-CORE log), but then the switch to linux kernel fails.
It ends with the boot sequence from UEFI:

[...]
DEBUG: [0x0] TEE-CORE:spi_init:168: configure gpio6 pins 0-3 as SPI
DEBUG: [0x0] TEE-CORE:spi_init:174: configure gpio6 pins 0-3 as nopull
INFO: TEE-CORE: Initialized
DEBUG: [0x0] TEE-CORE:init_primary_helper:629: Primary CPU switching to normal world boot
UEFI firmware (version PreAlpha built at 16:45:58 on Feb 28 2017)

Fail to start BootNext.
The default boot selection will start in 1 seconds
[1] fastboot
[2] boot from eMMC
[3] boot from SD card
[4] Shell
[5] Boot Manager

Any ideas about what's wrong, where to look for ?

Thansk

The connection between HikeyBoard and PC is not stable

I try to set linking J15 1-2 and 3-4 pins of Board and connect the PC and my board.

and I try to find the /dev/ttyUSB0 on my PC.

But the /dev/ttyUSB0 is appeared few seconds(1~2) and then disappeared.

So when I put this command ./flash-all.sh /dev/ttyUSB1
the output is like this
+----------------------+
Serial: /dev/ttyUSB0
Image1: ./l-loader.bin
Image2:
+----------------------+

Sending ./l-loader.bin ...
Traceback (most recent call last):
File "./hisi-idt.py", line 263, in
main(sys.argv[1:])
File "./hisi-idt.py", line 260, in main
burnboot('hi3716cv200', dev, img1, img2)
File "./hisi-idt.py", line 202, in burnboot
downloader.download(filename1, filename2)
File "./hisi-idt.py", line 187, in download
self.senddata(data,self.bootheadaddress[self.chip])
File "./hisi-idt.py", line 173, in senddata
self.senddataframe(seq,data[(seq-1)self.MAX_DATA_LEN:seqself.MAX_DATA_LEN])
File "./hisi-idt.py", line 156, in senddataframe
self.sendframe(data,32)
File "./hisi-idt.py", line 103, in sendframe
self.s.flushOutput()
File "/usr/local/lib/python2.7/dist-packages/serial/serialutil.py", line 569, in flushOutput
self.reset_output_buffer()
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 582, in reset_output_buffer
termios.tcflush(self.fd, termios.TCOFLUSH)
termios.error: (5, 'Input/output error')

or
show
android out dir:./../../../..//out/target/product/hikey
+----------------------+
Serial: /dev/ttyUSB0
Image1: ./l-loader.bin
Image2:
+----------------------+

Sending ./l-loader.bin ...
Done
and not finishing.

is my board poor?

No autogen.sh file in libsoc package

In documentation/ConsumerEdition/GPIO/Advanced/libsoc-install/README.md, Command section:
There is a command specifying $ ./autogen.sh , but there is no such file in libsoc package.

Breadcrumb on website seems to be one directory off

I was browsing http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/15.06/

The breadcrumb path at the top of the page seems to be off by one. If I want to navigate back to http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/, I need to click on the qualcomm link. Likewise if I want to navigate to http://builds.96boards.org/releases/dragonboard410c/qualcomm/, I need to click on the dragonboard410c link.

This us using Chrome (not chromium) on Ubuntu 14.04.

SPI Image "boot-db410c-spi.img" not working

I downloaded this image on the link given here but my Dragonboard doesn't detect anything when I try to boot it with this image on the SD Card. Is there any additional step to do?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.