Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MRupp
New Contributor I
2,921 Views

Brillo OS - Successfully Flashing

I wrote an Instructions, i hope i doesnt forget any steps.....

  1. I compile it with Ubuntu 14.10 64 bit as VM on Windows 10
  2. first i establish a Build environment, like here : https://source.android.com/source/initializing.html Establishing a Build Environment | Android Open Source Project
  3. 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]

[ ...

38 Replies
毛毛1
Beginner
157 Views

hi Sangi, I met the same problem with you. After flashing the brillo image to edison board for arduino with flash tool, the board came in fastboot mode as follows.

Have you resolved this problem ? Can you share the solution with me. Thanks a lot.

the result :

U-Boot 2015.10-rc4-g598bc0b (Oct 29 2015 - 17:36:00 -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.

FASTBOOT MODE...

skuma76
Novice
157 Views

Hi,

U changed anything in source code ?

AGudi1
Beginner
157 Views

Hi All

But what are the advantages of Brillo over Yacto, what type of projects can we do with Brillo.

 

Appreciate your response.
sshai7
Beginner
157 Views

Hi Martata

upto build it is working fine.but when i am trying to compile using $make i am getting errors .

please once go to the attachment try to help me to comeout from this problem.

Thanks

ishaq

TYoo
Novice
309 Views

Hi, Martata. I'm Tylor Yoo.

Thank you for your manual. I could build Brillo source code.

Recently, I'm uploading Brillo's image to Edison kit for arduino.

But I have trouble in flashing Brillo's image files.

Can you tell me names of ".img" files? My environments don't recognize the files.

Or can you write the process more specifically?

Have a nice day.

MRupp
New Contributor I
309 Views

HI, i try to writing a more detailed instruction, but i need some more days.

sshin12
Novice
309 Views

Hello Marta,

Good Day!

It would be of great help if you explain in brief how you managed to flash the *.img brillo images to Edison?

I tried using the steps for fastboot

https://android.googlesource.com/device/intel/edison/+/master/flash_tools/brillo-flashall-edison.sh flash_tools/brillo-flashall-edison.sh - device/intel/edison - Git at Google

ut bootloader was not built from Brillo sources-boot-edison.bin.

I tried to use Intel phone flash tool, but it doesnot accept *.img files.

I am very curious to get my Edison booted with Brillo.... any help would be appreciated!

Thanks

Sangi

skuma76
Novice
309 Views

Hey,i compiled succesfully the brillo os on ubuntu.i did't find the in out folder which ".img" file is required,please tell me exact path,Also how to flash brillo build image on intel edison board for ubuntu platform.

skuma76
Novice
309 Views

Thanks Martata,

brillo os successfully flash on intel edison board,i want to try using command configure_edison --wifi,i got command is not found,how can solve this?

sshin12
Novice
309 Views

Singhania,

Did you use brillo-flashall-edison.sh for flashing? So how did you take your edison in fastboot mode?

Thanks in advance

Cheers

Sangi

skuma76
Novice
157 Views

Hi Sangi,

i don't use brillo-flashall-edison.sh for flashing,i used intel phone tools and upload json script file for flashing,please read the json script file and check the which file ism required ti add and also copy all file .img ,.bin and ifwi file in flash_tools folder.

i used edison.sh for flashing in intel edison board for yocta image with help 'edison-src' source code.i successful done without using any phone flash tool.

AAman3
Novice
157 Views

Hi Martata,

In "lunch" there are may options turned up. I want to load Brillo on Emulator which one shall I choose?

Thanks and Regards,

Aman Dalmia

skuma76
Novice
157 Views

Hi aman,

u can choose option in lunch depends up on your hardware( like Edison for intel edison board ).

瑶瑶_王
Novice
157 Views

Hi,witch Edsion board do you used?can you give me a link to buy?

PGaje
Beginner
157 Views

Successfully flash Brillo OS in edision board but now, how can first "Hello World" program build for it.

hkang9
Beginner
157 Views

ninja: no work to do.

[1/2] soong_build docs out/soong/.bootstrap/docs/soong_build.html

FAILED: out/soong/.bootstrap/docs/soong_build.html

out/soong/.bootstrap/bin/soong_build -b out/soong --docs out/soong/.bootstrap/docs/soong_build.html ./Android.bp

error: frameworks/native/cmds/atrace/Android.bp:3:1: "atrace" depends on undefined module "libhwbinder"

error: frameworks/native/cmds/atrace/Android.bp:3:1: "atrace" depends on undefined module "android.hidl.manager@1.0"

error: frameworks/native/cmds/atrace/Android.bp:3:1: "atrace" depends on undefined module "libhidlbase"

error: frameworks/native/cmds/atrace/Android.bp:3:1: "atrace" depends on undefined module "libhidltransport"

[2/2] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja

FAILED: out/soong/build.ninja

out/soong/.bootstrap/bin/soong_build -b out/soong -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp

error: frameworks/native/cmds/atrace/Android.bp:3:1: "atrace" depends on undefined module "libhwbinder"

error: frameworks/native/cmds/atrace/Android.bp:3:1: "atrace" depends on undefined module "android.hidl.manager@1.0"

error: frameworks/native/cmds/atrace/Android.bp:3:1: "atrace" depends on undefined module "libhidlbase"

error: frameworks/native/cmds/atrace/Android.bp:3:1: "atrace" depends on undefined module "libhidltransport"

ninja: build stopped: subcommand failed.

build/core/soong.mk:29: recipe for target 'run_soong' failed

make: *** [run_soong] Error 1

During compiling brillo, it occurs errors like above.

What should I do?

Help me

PGaje
Beginner
157 Views

@kkang follow my step.

-> Build bdk in ubuntu 14.04 LTS.

-> bdk should present in root directory and then after building brillo image.

-> First set bdk path:

# export BDK_PATH=/

-> After that, run environment script.

# ${BDK_PATH}/build/envsetup.sh

-> Set target board using lunch command and note that run lunch command more than 4 times because sometimes not set target successfully.

# lunch

-> Finally run below command:

# m -j20

YNL
Beginner
157 Views

I tried above steps i'm getting these errors. can anyone help me this

Reply