1
0
Fork 0
Commit Graph

37286 Commits (b703b09a7c79ff1bedb9dcb78b2151478d91f0ee)

Author SHA1 Message Date
Martin T. H. Sandsmark b703b09a7c zero-gravitas: set the BATLOWEN bit if not set when booting 2017-07-31 15:20:23 +02:00
Martin T. H. Sandsmark 3dc970231a zero-gravitas.h: ensure we always have a uboot.env file, so update-engine is happy 2017-07-10 18:49:44 +02:00
Martin T. H. Sandsmark ec58bbcf3a zero-gravitas.h: we don't have 16bpp 2017-07-10 18:49:18 +02:00
Martin T. H. Sandsmark 4f85660644 zero-gravitas.h: make systemd spew errors on failures 2017-07-05 15:30:46 +02:00
Martin T. H. Sandsmark f021613c83 zero-gravitas.h: turn off if booting into fallback fails 2017-07-05 15:30:28 +02:00
Martin T. H. Sandsmark a93a17ca12 zero-gravitas.h: tell systemd to reboot on crash (to use the altboot) 2017-07-05 14:42:53 +02:00
Martin T. H. Sandsmark 51289a78c6 zero-gravitas.h: fix altbootcmd stuff 2017-07-05 14:42:03 +02:00
Martin T. H. Sandsmark 2302a25603 fix typo in altbootcmd 2017-07-05 13:16:00 +02:00
Martin T. H. Sandsmark a8f35b271d store kernel and device tree file on root partition, to be included in updates 2017-06-05 21:41:37 +02:00
Martin T. H. Sandsmark 1b7060f27e fix logic for displaying low battery splash 2017-05-26 20:15:30 +02:00
Martin T. H. Sandsmark 270b026103 add boot arg that says why the board booted 2017-05-26 19:49:26 +02:00
Martin T. H. Sandsmark 782407354f boot config: cut delay to 1s, add support for fallback roots 2017-05-26 08:58:47 +02:00
Martin T. H. Sandsmark 03f67bd151 put the environment in a proper partition so it doesn't clobber the disk 2017-05-26 05:20:10 +02:00
Martin T. H. Sandsmark 0d0a7a9d21 fix build without epdc support 2017-05-22 14:28:34 +02:00
Martin T. H. Sandsmark b2c72a0a43 enable our late init routine for low battery handling 2017-04-24 18:57:17 +02:00
Martin T. H. Sandsmark 9e8b0dad07 fix build without epdc 2017-04-24 18:54:19 +02:00
Martin T. H. Sandsmark 39b981fc4f try to handle low power situations 2017-04-24 18:54:02 +02:00
Martin T. H. Sandsmark 4ef80c1c15 epdc_setup: fix build without epdc stuff 2017-04-24 18:53:11 +02:00
Martin T. H. Sandsmark 56a8d48df8 board: fix board name 2017-02-10 17:23:06 +01:00
Martin T. H. Sandsmark d177e67478 board: power off automatically if battery is low and not charging 2017-02-10 17:20:17 +01:00
Martin T. H. Sandsmark 89394643ee board: do the epdc pmic gpio init in the right place 2017-02-10 16:12:38 +01:00
Martin T. H. Sandsmark fce825d4b9 board: update SPL code to match DCD, add usb failsafe boot mode 2017-02-10 16:11:51 +01:00
Martin T. H. Sandsmark 09627d5f52 board: fix failing to detect failsafe key press 2017-02-10 16:10:19 +01:00
Martin T. H. Sandsmark ff69e58e1f board: add command to jump to hab failsafe for debugging 2017-02-10 16:08:24 +01:00
Martin T. H. Sandsmark 416bde753a board: fix display timing info 2017-02-10 15:50:31 +01:00
Martin T. H. Sandsmark ab4dbd1024 board: add command for checking battery status, for debugging 2017-02-10 15:34:31 +01:00
Martin T. H. Sandsmark 400273f192 board: fix reading of charging status 2017-02-10 15:28:58 +01:00
Martin T. H. Sandsmark 9c265ea028 board: simplify iomuxing with appropriate define 2017-02-10 15:16:42 +01:00
Martin T. H. Sandsmark 23f85ebd9b dcd: fix reinitialization of DDR 2017-01-30 14:55:00 +01:00
Martin T. H. Sandsmark 71c1effdad epdc: fix build with default LCD_BPP 2017-01-21 16:24:24 +01:00
Martin T. H. Sandsmark 483198b94e Try to clean up the epdc driver a bit 2016-12-04 22:32:37 +01:00
Martin T. H. Sandsmark e0d40e16d6 Remove custom splash loading, use standard uboot splash stuff 2016-12-04 22:17:59 +01:00
Martin T. H. Sandsmark d5eff378a1 Remove ethernet stuff 2016-12-04 20:14:16 +01:00
Martin T. H. Sandsmark 1bc287e726 Try to set clocks before jumping to HAB failsafe
This is what the bare-metal SDK does
2016-12-04 20:04:50 +01:00
Martin T. H. Sandsmark 6e86f08d1c Add splash screen for our board using EPDC 2016-12-04 20:03:55 +01:00
Martin T. H. Sandsmark d3a81600f4 Add a simple EPDC driver 2016-12-04 19:57:38 +01:00
Martin T. H. Sandsmark 3a42eb901b Disable automatic power-on circuitry when starting 2016-12-04 19:32:30 +01:00
Martin T. H. Sandsmark 60e1615193 Add support for checking gpio keys for magic keypress as well 2016-12-04 19:31:21 +01:00
Martin T. H. Sandsmark b8a611f4aa add pin definitions for EPDC 2016-12-02 11:29:15 +01:00
Martin T. H. Sandsmark ee5aa5e375 fix battery checking, only print out status for now 2016-12-02 11:28:22 +01:00
Martin T. H. Sandsmark cd0e6f0b2f improve readability of DCD by using defines and comments 2016-12-02 11:23:40 +01:00
Martin T. H. Sandsmark 231ed29fcb Enable reading of serial tag from OCOTP 2016-12-02 11:18:33 +01:00
Martin T. H. Sandsmark c1794c409e Start on battery checking during boot 2016-12-02 11:14:47 +01:00
Martin T. H. Sandsmark ec02022b87 Don't try to switch mmc device before attempting to boot from RAM 2016-10-19 10:37:13 +02:00
Martin T. H. Sandsmark b9ce469ea9 Fix booting from initramfs from mem, which doesn't use ssystemd 2016-10-19 10:36:24 +02:00
Martin T. H. Sandsmark e7ffea40ea Verify PMIC version before trying to interact with it 2016-10-19 10:35:19 +02:00
Martin T. H. Sandsmark be004af0e7 Move pf100 debug output into separate function, dump SW4 and OTP register values 2016-10-19 10:34:59 +02:00
Martin T. H. Sandsmark afaeaaec02 Remove FEC support, do our own bringup of the pf100, try to set the SW4
voltage of the PF100.
2016-10-11 10:08:31 +02:00
Martin T. H. Sandsmark 06abb466fe Add support for reading PARTITION_CONFIG from console 2016-10-11 10:08:31 +02:00
Martin T. H. Sandsmark 6330a3ee65 Update default boot environment 2016-10-10 14:17:36 +02:00