Skip to content

apple-corps/Cadmium

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Thanks @LoganMD for the logo

Cadmium, Linux for ARM chromebooks that don't get attention elsewhere

It also doesn't suck!

Hardware support:

Note: (FW) entries are meant to indicate that firmware(that is included in Cadmium) is needed for piece of hardware to work correctly.

Hardware support matrix Duet Kevin and Bob Asus C100PA and C201PA Acer Spin 513
Internal Display Y Y Y Y
External Display N Y(FW) Y N
Display autorotation Y Y N N
Hardware video decoding N P P Y(FW)
Touchscreen Y Y Y Y
Pen Input Y Y Y
WiFi Y(FW) Y(FW) Y(FW) Y(FW)
3D Acceleration Y Y Y Y(FW)
GPU reclocking Y Y ? Y
Audio Y Y Y P(only usb + bt)
Bluetooth N ? N Y
Front Camera N Y Y Y
Back Camera N
USB Y Y Y Y
USB Gadget ? ? N
Suspending and resuming Y Y Y Y
eMMC installation Y Y Y Y
KVM Virtualtization Y(read wiki) Y(read wiki) N Y
Anbox P N N

Official IRC channel is #cadmium on Libera.chat

Official discord server is at https://discord.gg/ZZbwyvKCmV

Installation

  • Make sure that you have developer mode unlocked

  • Enable booting from usb, by running enable_dev_usb_boot in ChromeOS root shell accessible when you log in as root after pressing ctrl + alt + refresh.

  • Reboot Once you have this out, continue with instructions:

  • Edit ./config to reflect your board

  • ./build-all /dev/sdX On a Linux machine(ChromeOS doesn't count(except in linux chroot)). For Debian rootfs, binfmt and debootstrap are needed to work correctly.

  • When build-all is ran like ./build-all <file> <size>, it builds Cadmium to with size of (2G should be fine)

  • Enable developer mode

  • Plug pendrive into your laptop.

  • Boot from USB

  • After running ./install-to-emmc after connecting to internet, Cadmium will be installed on internal emmc memory

  • To update kernel on eMMC memory run: ./install-kernel from pendrive

OR

  • Enable developer mode(instructions are in the wiki for duet)
  • Download and uncompress cadmium-<device>.tar.gz to your pendrive
  • Boot from USB
  • Run ./install-to-emmc

Binary drivers are unsupported in Cadmium and never will be

Dependencies on build machine

  • Recent Linux distribution
  • Binfmt when Debian rootfs is used
  • debootstrap when Debian rootfs is used
  • qemu-user-static when build machine can't run binaries for target machine
  • vboot-utils u-boot-tools (vbutil_kernel, cgpt and mkimage) to pack kernel into format understandable by depthcharge
  • gcc-aarch64-linux-gnu for compiling to ARM64 or gcc-arm-linux-gnueabihf for compiling to ARMv7
  • curl to download the kernel
  • bsdtar for writing the archive file (from the libarchive-tools package)
  • f2fs-tools for creating the filesystem used by Cadmium
  • parted to prepare gpt table to be modified by cgpt
  • Build dependencies for kernel compilation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%