joohyun
Posts: 2
Joined: Fri Sep 08, 2017 1:43 am

Is it available to port "Android Things" on "Raspberrypi compute model 3"?

Thu Sep 14, 2017 6:26 am

I thinking to develop a project with "android things" and my project needs to be small so I'm thinking "Raspberrypi computing model 3".

Because it is just the core of raspberry pi 3 b board, that is on the android things website, I think it is available but just want to make sure.

is it possible to port android things on compute model 3?

W. H. Heydt
Posts: 9031
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Is it available to port "Android Things" on "Raspberrypi compute model 3"?

Thu Sep 14, 2017 2:20 pm

IF it will run on a Pi3B, it should run on a CM3. One thing to be aware of, though. The eMMC storage on the CM3 is 4GB, so that is the upper limit of available space unless you use either a CM3L with an SD card or the NEC CM3-16 with 16GB.

tonimoeckel
Posts: 3
Joined: Mon Mar 05, 2018 1:42 pm

Re: Is it available to port "Android Things" on "Raspberrypi compute model 3"?

Mon Mar 05, 2018 1:51 pm

Hi there,

@joohyun did try to install android things on the CM3 yet? I also want to use the CM3 with the 4GB flash storage but I found that the image I can build and flash is min. 8gb.

Is there a another way to flash android things on the compute module? Does someone has any experience with android things running on a CM?

W. H. Heydt
Posts: 9031
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Is it available to port "Android Things" on "Raspberrypi compute model 3"?

Mon Mar 05, 2018 3:03 pm

tonimoeckel wrote:
Mon Mar 05, 2018 1:51 pm
Hi there,

@joohyun did try to install android things on the CM3 yet? I also want to use the CM3 with the 4GB flash storage but I found that the image I can build and flash is min. 8gb.

Is there a another way to flash android things on the compute module? Does someone has any experience with android things running on a CM?
See my post above yours...if you need 8GB, your choices are NEC CM3-16 (with 16GB) or CM3L with either eMMC on the carrier or an SD card interface on the carrier. A third possibility, if you carrier board is built correctly, would be a USB MSD added to the system.

tonimoeckel
Posts: 3
Joined: Mon Mar 05, 2018 1:42 pm

Re: Is it available to port "Android Things" on "Raspberrypi compute model 3"?

Tue Mar 06, 2018 12:01 pm

Thank you! Did you find a stand alone version of NEC CM3-16 or do they sell it only with the interface board?

tannerb
Posts: 2
Joined: Mon Jun 18, 2018 5:21 pm

Re: Is it available to port "Android Things" on "Raspberrypi compute model 3"?

Tue Jun 19, 2018 1:25 pm

You can create an image that is as small as 3GB in android things onto the eMMC, however I have yet to get it to boot. I am working through some Device Tree Blob issues and bootloader things.

This is what I have printing the serial port after changing some of the DTB entries for the mmc to the sdhost address. Though, it is not what I want it was different than the first week, which was no boot caused by failed init of pi3 components, Ethernet and Wifi and all that. Once I got through that I managed to enter U-boot where it reported "*Bad MMC 0*" I just go through that yesterday. Now I have It attempting to fire off the Kernel and it sits there but I don't get any errors. I am going to let it sit for a little while to see if something times out. But I assume that there is something trying to access an external component still. If I get this running I will load it to github.

Code: Select all

USB0:   Core Release: 2.80a
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
No MMC device available
usb - USB sub-system

Usage:
usb start - start (scan) USB controller
usb reset - reset (rescan) USB controller
usb stop [f] - stop USB [f]=force stop
usb tree - show USB device tree
usb info [dev] - show available USB devices
usb test [dev] [port] [mode] - set USB 2.0 test mode
    (specify port 0 to indicate the device's upstream port)
    Available modes: J, K, S[E0_NAK], P[acket], F[orce_Enable]

No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-bcm283x
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
U-Boot> MMC:   [email protected]: 0
reading uboot.env
In:    serial
Out:   serial
Err:   serial
Net:   Net Initialization Skipped
No ethernet found.
ANDROID: Attempting slot b, tries remaining 6
ANDROID: Booting slot: b
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
ANDROID: reboot reason: "(none)"
** Invalid Android Image header **
Android boot failed, error -1.
resetting ...
U-�MMC:   [email protected]: 0
reading uboot.env
In:    serial
Out:   serial
Err:   serial
Net:   Net Initialization Skipped
No ethernet found.
ANDROID: Attempting slot a, tries remaining 5
ANDROID: Booting slot: a
72 bytes read in 28 ms (2 KiB/s)
ANDROID: reboot reason: "(none)"
Booting kernel at 0x1000000 with fdt at 2efe8500...


## Booting Android Image at 0x01000000 ...
Kernel load addr 0x01000800 size 8385 KiB
Kernel command line: buildvariant=userdebug
RAM disk load addr 0x11000000 size 4947 KiB
## Flattened Device Tree blob at 2efe8500
   Booting using the fdt blob at 0x2efe8500
   XIP Kernel Image ... OK
   Loading Ramdisk to 2cb2b000, end 2cfffb11 ... OK
   reserving fdt memory region: addr=0 size=1000
   reserving fdt memory region: addr=2efe8500 size=bb00
   Loading Device Tree to 2dff1000, end 2dfffaff ... OK

Starting kernel ...




tonimoeckel
Posts: 3
Joined: Mon Mar 05, 2018 1:42 pm

Re: Is it available to port "Android Things" on "Raspberrypi compute model 3"?

Thu Jun 28, 2018 6:26 pm

Thank you for sharing this.

Do you habe any updates on this? I didn't get it to boot either. Did you figure it out yet?

Return to “Compute Module”