I wrote an Instructions, i hope i doesnt forget any steps.....
7. Choose " edison-eng "
- 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
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
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]
Here is the output of
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
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
total used free shared buffers
Mem: 958 101 857 0 0
-/+ buffers/cache: 100 858
Swap: 0 0 0
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.
Install Java 7 sdk
$ sudo apt-get install openjdk-7-jdk
Install some required Packages
zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \
$ 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
Make in Home Directory a Folder "bin" and incl
uded him in your path
$ mkdir ~/bin
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
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.
I can open the URL in a brower. I really cann't find why. It depressed me a lot.
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
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.
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?
Any other questions, we can discuss it.
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)
Did you reboot your edison in fastboot mode or did flashtool did it by itself?
Thanks in advance
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
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
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.
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
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.
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.