Samsung ARM Chromebook - The Chromium Projects
Samsung ARM Chromebook - The Chromium Projects
Samsung ARM Chromebook - The Chromium Projects
Introduction Contents
This page contains information about the ARM Samsung Series 3 Chromebook that is 1 Introduction
interesting and/or useful to software developers. For general information about getting 1.1 Specifications
started with developing on Chromium OS (the open-source version of the software on
2 Developer Mode
the Chrome Notebook), see the Chromium OS Developer Guide.
2.1 Introduction
Specifications 2.2 Entering
2.3 USB Boot
CPU: Samsung Exynos 5 Dual (5250) (Cortex A15; 1.7GHz dual core cpu) 2.4 Legacy Boot
GPU: ARM Mali-T604 (Quad Core) 2.5 Leaving
1366x768 screen & HDMI external connector
3 Firmware
RAM: 2 GiB DDR3
The memory is not upgradable as it is soldered directly to the board 3.1 Boot Sequence
Disk: 16 GiB SSD (connected to eMMC) 3.2 Flash Layout
SD & USB expansion slots 3.2.1 Read-Only section (first 2 MiB)
WiFi: 802.11 a/b/g/n 4 What's inside?
USB slot can handle Ethernet dongle
4.1 Disassembly
4.1.1 Firmware Write Protect
Developer Mode
Caution: Modifications you make to the system are not supported by Google, may cause
hardware, software or security issues and may void warranty.
An unrelated note: Holding just Refresh and poking the Power button hard-resets the machine
without entering Recovery. That's occasionally useful, but use it with care - it doesn't sync the disk
or shut down politely, so there's a nonzero chance of trashing the contents of your stateful
partition.
Introduction
Enabling Developer mode is the first step to tinkering with your Chromebook. With Developer mode
enabled you can do things like poke around on a command shell (as root if you want), install
Chromium OS, or try other OS's. Note that Developer mode turns off some security features like
verified boot and disabling the shell access. If you want to browse in a safer, more secure way,
leave Developer mode turned OFF. Note: Switching between Developer and Normal (non-
developer) modes will remove user accounts and their associated information from your
Chromebook.
Entering
On this device, both the recovery button and the dev-switch have been virtualized. Our partners
don't really like physical switches - they cost money, take up space on the motherboard, and
require holes in the case.
To invoke Recovery mode, you hold down the ESC and Refresh (F3) keys and poke the Power
button.
To enter Dev-mode you first invoke Recovery, and at the Recovery screen press Ctrl-D (there's no
prompt - you have to know to do it). It will ask you to confirm, then reboot into dev-mode.
Dev-mode works the same as always: It will show the scary boot screen and you need to press
Ctrl-D or wait 30 seconds to continue booting.
USB Boot
By default, USB booting is disabled. Once you are in Dev-mode and have a root shell, you can run:
and reboot once to boot from USB drives with Ctrl-U. Use the USB port next to the HDMI
connector.
Note: Only CrOS formatted images will boot via USB. Other Linux distros will not work.
Legacy Boot
Sorry, but this device does not support a legacy BIOS mode. It has an ARM cpu, so there is no such
mode anyways.
Leaving
To leave Dev-mode and go back to normal mode, just follow the instructions at the scary boot
screen. It will prompt you to confirm.
Firmware
This device uses Das U-Boot to boot the system. You can find the source in the Chromium OS u-
boot git tree in the firmware-snow-2695.B branch.
There is also firmware in a custom embedded controller (which handles things like the keyboard),
but we won't cover that here as you generally should not need to modify that. You can find the
source in the Chromium OS ec git tree (in the snow firmware branch).
Boot Sequence
power on
the CPU will execute u-boot from the read-only on-board SPI flash
u-boot will look at the GPT layout on the 16 GiB SSD (connected via eMMC)
search for the firmware partition marked active and try to boot the u-boot that lives there
u-boot will look at the GPT layout
search for the Linux kernel partition marked active and try to boot the kernel that lives there
Linux kernel boots from its corresponding rootfs partition
profit!
Flash Layout
You can show the SPI flash layout on your device by using flashmap utilities. It'll be the same on all
devices though so the example below should be applicable as well
$ flashrom -r bios.bin
$ fmap_decode bios.bin
fmap_signature="0x5f5f464d41505f5f" fmap_ver_major="1"
fmap_ver_minor="0" fmap_base="0x0000000000000000" fmap_size="0x400000"
fmap_name="FMAP" fmap_nareas="23"
area_offset="0x001af000" area_size="0x00051000" area_name="RO_UNUSED"
area_flags_raw="0x01" area_flags="static"
area_offset="0x00000000" area_size="0x00200000" area_name="WP_RO"
area_flags_raw="0x01" area_flags="static"
area_offset="0x00000000" area_size="0x0019f000" area_name="RO_SECTION"
area_flags_raw="0x01" area_flags="static"
area_offset="0x00000000" area_size="0x00002000" area_name="BL1 PRE_BOOT"
area_flags_raw="0x01" area_flags="static"
area_offset="0x00002000" area_size="0x00004000" area_name="BL2 SPL"
area_flags_raw="0x01" area_flags="static"
area_offset="0x00006000" area_size="0x0009a000" area_name="U_BOOT"
area_flags_raw="0x01" area_flags="static"
area_offset="0x000a0000" area_size="0x00001000" area_name="FMAP"
area_flags_raw="0x01" area_flags="static"
area_offset="0x000aff00" area_size="0x00000100" area_name="RO_FRID"
area_flags_raw="0x01" area_flags="static"
area_offset="0x000b0000" area_size="0x000ef000" area_name="GBB"
area_flags_raw="0x01" area_flags="static"
area_offset="0x001a0000" area_size="0x00010000" area_name="RO_VPD"
area_flags_raw="0x01" area_flags="static"
area_offset="0x00200000" area_size="0x000f0000" area_name="RW_SECTION_A"
area_flags_raw="0x01" area_flags="static"
area_offset="0x00200000" area_size="0x00002000" area_name="VBLOCK_A"
area_flags_raw="0x01" area_flags="static"
area_offset="0x00202000" area_size="0x000edf00" area_name="FW_MAIN_A"
area_flags_raw="0x01" area_flags="static"
area_offset="0x002eff00" area_size="0x00000100" area_name="RW_FWID_A"
area_flags_raw="0x01" area_flags="static"
area_offset="0x00300000" area_size="0x000f0000" area_name="RW_SECTION_B"
area_flags_raw="0x01" area_flags="static"
area_offset="0x00300000" area_size="0x00002000" area_name="VBLOCK_B"
area_flags_raw="0x01" area_flags="static"
area_offset="0x00302000" area_size="0x000edf00" area_name="FW_MAIN_B"
area_flags_raw="0x01" area_flags="static"
area_offset="0x003eff00" area_size="0x00000100" area_name="RW_FWID_B"
area_flags_raw="0x01" area_flags="static"
area_offset="0x003f0000" area_size="0x00008000" area_name="RW_VPD"
area_flags_raw="0x01" area_flags="static"
area_offset="0x003f8000" area_size="0x00004000" area_name="RW_SHARED"
area_flags_raw="0x01" area_flags="static"
area_offset="0x003f8000" area_size="0x00004000" area_name="SHARED_DATA"
area_flags_raw="0x01" area_flags="static"
area_offset="0x003fc000" area_size="0x00004000" area_name="RW_PRIVATE"
area_flags_raw="0x01" area_flags="static"
area_offset="0x003fc000" area_size="0x00004000"
area_name="RW_ENVIRONMENT" area_flags_raw="0x01" area_flags="static"
You're a good robot and can parse that right? :) Here's a highlight of the parts you'll care about.
The U-Boot environment can be found embedded inside the U-Boot image itself. Normally the flash
is read-only which means you can't change it. But if you were to disable the write protect, you could
update the environment to do whatever you like.
What's inside?
WARNING: Opening the case and fiddling with the stuff inside could easily brick
your system and make it unrecoverable. DO NOT ATTEMPT if you are not
familiar with this process.
Stop. Don't. Come back.
Really. Opening the case will allow you to modify the read-only firmware that makes recovery
possible. If someone from "teh internets" says "You need to reflash your BIOS", they're almost
certainly wrong.
Disassembly
Taking apart your laptop is not encouraged. If you have hardware troubles, please seek assistance
first from an authorized center. Be advised that disassembly might void warranties or other
obligations, so please consult any and all paperwork your received first. If you just want to see
what the inside looks like, gaze upon this (click for a high res version):
However, we acknowledge that some people like to tinker. So here's a quick guide to taking it apart:
Then to reassemble:
Start at the hinge side and try to get all the loops merged first with the clips
You can pull on the back slighty so that the bottom falls into place
Once the back is snug, work your way along the edges and click the clips back into place
The edges should be nice and snug if everything is in the right place
Put all 9 screws back where you found them
It's the screw next to the USB 3.0 connector (see the pictures above for more details). There
should also be a conductive piece of plastic attached to the screw hole.
Comments