readme.txt
1Mediatek MT8173 aka Chromebook Elm
2==================================
3
4This file describes booting the Chromebook from an SD card containing
5Buildroot kernel and rootfs, using the original bootloader. This is
6the least invasive way to get Buildroot onto the devices and a good
7starting point.
8
9The bootloader will only boot a kernel from a GPT partition marked
10bootable with cgpt tool from vboot-utils package.
11The kernel image must be signed using futility from the same package.
12The signing part is done by sign.sh script in this directory.
13
14It does not really matter where rootfs is as long as the kernel is able
15to find it, but this particular configuration assumes the kernel is on
16partition 1 and rootfs is on partition 2 of the SD card.
17Make sure to check kernel.args if you change this.
18
19Making the boot media
20---------------------
21Start by configuring and building the images.
22
23 make chromebook_elm_defconfig
24 make menuconfig # if necessary
25 make
26
27The important files are:
28
29 uImage.kpart (kernel and device tree, signed)
30 rootfs.tar
31 bootsd.img (SD card image containing both kernel and rootfs)
32
33Write the image directly to some SD card.
34WARNING: make sure there is nothing important on that card,
35and double-check the device name!
36
37 SD=/dev/mmcblk1 # may be /dev/sdX on some hosts
38 dd if=output/images/bootsd.img of=$SD
39
40Switching to developer mode and booting from SD
41-----------------------------------------------
42Power Chromebook down, then power it up while holding Esc+F3.
43BEWARE: switching to developer mode deletes all user data.
44Create backups if you need them.
45
46While in developer mode, Chromebook will boot into a white screen saying
47"OS verification is off".
48
49Press Ctrl-D at this screen to boot Chromium OS from eMMC.
50Press Ctrl-U at this screen to boot from SD (or USB)
51Press Power to power it off.
52Do NOT press Space unless you mean it.
53This will switch it back to normal mode.
54
55The is no way to get rid of the white screen without re-flashing the bootloader.
56
57