- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I wrote an Instructions, i hope i doesnt forget any steps.....
- I compile it with Ubuntu 14.10 64 bit as VM on Windows 10
- first i establish a Build environment, like here : https://source.android.com/source/initializing.html Establishing a Build Environment | Android Open Source Project
- Install Repo : https://source.android.com/source/downloading.html Downloading the Source | Android Open Source Project --> at step "repo init" you take the brillo source :
-->
repo init -u https://android.googlesource.com/brillo/manifest/ https://android.googlesource.com/brillo/manifest/
4.
repo sync
5.
source build/envsetup.sh
6.
lunch
7. Choose " edison-eng "
8.
make
- i get a few errors, first it doesnt find some files p.e. the wifi driver and bluetooth, i download them at git (after i google them ) after that it works without problems
9. The ".img" files at the "out" folder i flashed them with Intel Phone Flash Tool in Windows, in Ubuntu it doesnt work for me.
Here is the Result:
******************************
PSH KERNEL VERSION: b0182b2b
WR: 20104000
******************************
SCU IPC: 0x800000d0 0xfffce92c
PSH miaHOB version: TNG.B0.VVBD.0000000c
microkernel built 11:24:08 Feb 5 2015
******* PSH loader *******
PCM page cache size = 192 KB
Cache Constraint = 0 Pages
Arming IPC driver ..
Adding page store pool ..
PagestoreAddr(IMR Start Address) = 0x04899000
pageStoreSize(IMR Size) = 0x00080000
*** Ready to receive application ***
U-Boot 2015.10-rc4-g598bc0b (Oct 29 2015 - 17:35:55 -0700)
CPU: x86_64, vendor Intel, device 406a8h
Watchdog enabled
DRAM: 980.6 MiB
MMC: tangier_sdhci: 0, tangier_sdhci: 1
Using default environment
Model: Intel Edison
Net: Net Initialization Skipped
No ethernet found.
Valid Boot Flag
Setup Size = 0x00003c00
Magic signature found
Using boot protocol version 2.0c
Linux kernel version 3.10.89-brillo-edison+ (martata@ubuntu) # 1 SMP PREEMPT Wed Dec 23 09:27:05 PST 2015
Building boot_params at 0x00090000
Loading bzImage at address 100000 (6032496 bytes)
Magic signature found
Initial RAM disk at linear address 0x205c5800, size 1226919 bytes
Kernel command line: "console=ttyMFD2 earlyprintk=ttyMFD2,keep androidboot.hardware=edison androidboot.selin ux=enforcing androidboot.serialno=c14748a4 androidboot.slot_suffix=_a"
Starting kernel ...
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.89-brillo-edison+ (martata@ubuntu) (gcc version 4.9 20150123 (prerelease) (GCC) ) # 1 SMP PREEMPT Wed Dec 23 09:27:05 PST 2015
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000097fff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000003ffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000004000000-0x0000000005ffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000006000000-0x000000003f4fffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000003f500000-0x000000003fffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec04000-0x00000000fec07fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.6 present.
[ 0.000000] e820: last_pfn = 0x3f500 max_arch_pfn = 0x1000000
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] total RAM covered: 982M
[ 0.000000] Found optimal setting for mtrr clean up
[ 0.000000] gran_size: 64K chunk_size: 512M num_reg: 5 lose cover RAM: 0G
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[ 0.000000] init_memory_mapping: [mem 0x37400000-0x375fffff]
[ 0.000000] init_memory_mapping: [mem 0x34000000-0x373fffff]
[ 0.000000] init_memory_mapping: [mem 0x00100000-0x03ffffff]
[ 0.000000] init_memory_mapping: [mem 0x06000000-0x33ffffff]
[ 0.000000] init_memory_mapping: [mem 0x37600000-0x377fdfff]
[ 0.000000] RAMDISK: [mem 0x205c5800-0x206f1fff]
[ 0.000000] 125MB HIGHMEM available.
[ 0.000000] 887MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 377fe000
[ 0.000000] low ram: 0 - 377fe000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00001000-0x00ffffff]
[ 0.000000] Normal [mem 0x01000000-0x377fdfff]
[ 0.000000] HighMem [mem 0x377fe000-0x3f4fffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00001000-0x00097fff]
[ 0.000000] node 0: [mem 0x00100000-0x03ffffff]
[ ...
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Here is the output of
ls
$ su
# ls
acct file_contexts.bin oem sepolicy
cache fstab.edison proc service_contexts
config init property_contexts storage
d init.edison.rc root sys
data init.environ.rc sbin system
default.prop init.rc sdcard ueventd.edison.rc
dev init.usb.rc seapp_contexts ueventd.rc
etc mnt selinux_version vendor
df-h
# df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 479M 128K 479M 1% /dev
none 479M 12K 479M 1% /sys/fs/cgroup
tmpfs 479M 0 479M 0% /mnt
/dev/block/mmcblk0p6 248M 98M 150M 40% /system
/dev/block/mmcblk0p12 122M 38M 84M 31% /data
tmpfs 479M 0 479M 0% /storage
free -m
# free -m
total used free shared buffers
Mem: 958 101 857 0 0
-/+ buffers/cache: 100 858
Swap: 0 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Ok i became a few question, i dont know if i answer correctly but i do my best. I tryed to wrote down my steps more detailed
Ah and i have my Edison a half year, before buying, i never install Linux or something like that, PLS DONT KILL ME . I prevered to play SC2, what will i say, i have no plan what i do and you cant play Starcraft2
You will see a lot of "mistakes" or something like that, pls feel free to adjust me.
- "Build Environment" --> i have running a clean Ubuntu 14.03 - 64 bit, on VMware Workstation 12 on Windows 10, AMD CPU.
Update Ubuntu
- $ sudo apt-get update
Install Java 7 sdk
$ sudo apt-get install openjdk-7-jdk
Install some required Packages
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache \
libgl1-mesa-dev libxml2-utils xsltproc unzip
And some more
sudo apt-get install qt5-qmake
USB Access to Android Devices -->> change to your own
$ wget -S -O - http://source.android.com/source/51-android.rules | sed "s//$USER/" | sudo tee >/dev/null /etc/udev/rules.d/51-android.rules; sudo udevadm control --reload-rules
- "Get the source"
Make in Home Directory a Folder "bin" and included him in your path
$ mkdir ~/bin
$ PATH=~/bin:$PATH
Get "Repo tool" and rights to yourself
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
Build "Working Directory" and "go in"
$ mkdir brillo
<span class="pl...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
thanksalot for your time Marta!
Really appreciate your help.`
I will let you know as I complete my Brillo bringup
Cheers
Sangi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
hi, Marta, I'm doing the same thing as you have done. You know the process is time-consuming and error-prone.
I think it's maybe very useful for someone else, so I'd like to ask if you can share the result files.
Cheers
Zhongzhou Lu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Firstly, I have tried many times, but it is always wrong this step: repo init -u https://android.googlesource.com/brillo/manifest https://android.googlesource.com/brillo/manifest
I can open the URL in a brower. I really cann't find why. It depressed me a lot.
If it is convenient, can you send me an email, or other ways if the files are large. Really appreciate your help. My email is mailto:luzhongzhou2013@gmail.com luzhongzhou2013@gmail.com
Cheers
Zhongzhou Lu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I flash my Edison in ubuntu,i need to required any flash tool for flash the brillo.
i execute this script "brillo-flashall-edison.sh',i got this one.
Could not find boot.img, looked in .
how can solve it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
you can download flash tool lite here: https://software.intel.com/en-us/iot/hardware/edison/downloads https://software.intel.com/en-us/iot/hardware/edison/downloads
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thanks Marta
I tried flashing using the Intel flash tool in windows. First the u-boot-edison.img file was missing as it was not built from Brillo sources.
So I downloaded it from yokto project.
Then when I follow your process,
Copy all files along with json, bin, img files in one folder and then try full flash with flash tool then I get error
01/28/16 15:46:58.885 ERROR : [Port -1] Command `"xfstkFlashTool.exe" "D:\brillo\edison_dnx_fwr.bin" "D:\brillo\edison_ifwi-dbg-00.bin" "D:\brillo\edison_dnx_osr.bin" "D:\brillo\u-boot-edison.img" "0x80000007" "none" "none"` failed
01/28/16 15:46:58.885 ERROR : [Port -1] Flash failed (Command type: Ifwi)
Anyone facing this issue?
please let me know how you guys resolved it.
Any help would be really appreciated.
Cheers
Sangi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
You can use flashall script, I am not sure, but you can try it.
I have worked on this many days, but i can't clone Brillo source code.
So if convenient, can you send me the source code of brillo?
My email is: mailto:luzhongzhou2013@gmail.com luzhongzhou2013@gmail.com
Any other questions, we can discuss it.
good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Iuzhonghou, The Brillo sources are huge more than 10gb, how can i share them?
I guess you should be able to download using the commands mentioned by Marta.
So about my issue, i was able to go further, new error comes when flashtool waits for edison to be in fastboot mode, or so I think.
Because while xfstkflashtool succeeds this time, it fails here...
01/28/16 04:45:35.789 INFO : [Port 1] Running `"/usr/lib/phoneflashtoollite/fastboot" "-s" "" "flash" "gpt" "/mnt/hgfs/D/brillo/gpt.bin"` command
01/28/16 04:46:35.796 WARNING: [Port 1] Command `/usr/lib/phoneflashtoollite/fastboot "-s" "" "flash" "gpt" "/mnt/hgfs/D/brillo/gpt.bin"` timed out (60 s)
01/28/16 04:46:35.797 INFO : [Port 1] Retrying `"/usr/lib/phoneflashtoollite/fastboot" "-s" "" "flash" "gpt" "/mnt/hgfs/D/brillo/gpt.bin"` command
01/28/16 04:47:35.807 ERROR : [Port 1] Command `/usr/lib/phoneflashtoollite/fastboot "-s" "" "flash" "gpt" "/mnt/hgfs/D/brillo/gpt.bin"` timed out (60 s)
01/28/16 04:47:35.807 ERROR : [Port 1] Flash failed (Command type: Fastboot)
Marta, Singhania
Did you reboot your edison in fastboot mode or did flashtool did it by itself?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
- sangi No show at my instructions, i flashed my edison with Intel Phone Flash tool lite.....i dont know how boot the edison from Yocto in Fastboot Mode
- the u-boot-img file i think it was created when you run the "brunch" command or the "make" command.
- to resolved your xfstk problem you must install it --> search here in the forum --> there was an good instruciton to install it on a Linux 64 bit --> but that was one reason that i flashed it in Windows
luzhongzhou the files are too big to upolad them here
singhania8192 the boot.img was created when you run the "make" command --> it is in the ~/yourworkingdirectory/out/target/products/edison folder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
sorry i miss understood ure error --> you must search the IFWI Files in the brillo folder ( i don know where exactly ) --> then copy it in the /yourworkingdirectory/out/target/product/edison folder --> i think that solved youre problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Sangi,
Do one thing,go to firmware folder of brillo os and copy all file related to ifwi in flash_tools folder,and run the json script file using intel phone tool lite,if u got any error in flash time then search the error file in brillo os then copy in flash_toolls folder.
regards,
sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Martata,
location of ifwi
/brillo/vendor/bsp/intel/edison/ifwi_firmware/
regards,
sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Martata,
Boot.img is created after make command on out directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Sanjay , Martin,
Thanks for your responses.
I am not facing any missing files error. That I have solved.
I am facing issues while flashing when fastboot command is executed by flashtool.
The flashtool gets stuck during fastboot command. I think it waits till edison comes in fastboot mode.
One thing I wanted to ask you guys.
Before you started the flashing, what OS you had on your edison?
was it yokto linux which it comes by default when you buy edison or was it completely blank i.e. no OS?
Thanks n Regards
Sangi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi, Martata.
Thanks to your manual, I succeed flashing Brillo. I really appreciate you.
I would like to add some steps in your manual for other people. Are you OK?
After compile, you could get some files(totally, 19 files). The followings are required files to flash.
- boot.img, cache.img, ramdisk.img, recovery.img, system.img, userdata.img, gpt.bin
- edison_dnx_fwr.bin, edison_dnx_osr.bin, edison_ifwi-dbg-00.bin ~ edison_ifwi-dbg-06.bin
- u-boot-edison.bin, u-boot-edison.img
- FlashEdison.json
To flash these, you have to move above all files in one folder. And open your Phone Flash Tool Lite in windows.
Then you can see success message.
Martata, thank you very much again. See you again.
Best Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page