Eirik Schultz
97b35fdddf
zero-gravitas: patch Makefile to make it compile on Yocto dunfell release
2020-09-25 11:58:47 +02:00
Lars Ivar Miljeteig
df5c7fb133
Merge pull request #1 from reMarkable/lars/power_fixes
...
Lars/power fixes
2018-05-25 11:02:24 +02:00
Lars Ivar Miljeteig
0388c64a1a
zero-gravitas: 3.1v operation
...
Set SW4 and SW2 to 3.1v
Set VGEN5 and VGEN6 to 3.1v
2018-03-01 18:02:55 +01:00
Lars Ivar Miljeteig
51944d05a8
zero-gravitas: Poll bq27441 flags at boot
...
Sometimes the bq27441 will detect that the battery
misbehaves, and set the SOC1 (CRITICAL CHARGE) flag.
This is not always correct, so this patch checks 8
times over 4 seconds to make sure the bq27441 is
serious.
This is especially useful when powering the device
from an external power supply.
2018-02-26 13:24:45 +01:00
Lars Ivar Miljeteig
0e53f1b338
zero-gravitas: Fix reboot loop
...
Had an issue where the system would enter an
ethernal reboot loop. This was caused by a
glitch detection preventing proper power off.
This patch resets the glitch detection so that
the power off works as intended.
Jira: HW-5, HW-2
2018-02-19 12:39:16 +01:00
Lars Ivar Miljeteig
08d679d7fc
flash script: Remove undefined macro
...
Remove a macro that isn't specified anywhere.
2018-02-19 11:40:47 +01:00
Lars Ivar Miljeteig
5579e106a5
zero-gravitas: Fixed warning
2018-01-26 11:15:05 +01:00
Risto Avila
2ba6b4d39d
zero-gravitas: remove unsed cmd features to reduce u-boot size (323k -> 219k)
2017-11-01 15:55:47 +01:00
Risto Avila
037188b49b
zero-gravitas: set delay to 0
2017-11-01 15:55:38 +01:00
Risto Avila
520071730c
Add kernel arquments to define rootfs type and disable standard serial prints
2017-11-01 15:55:31 +01:00
Martin T. H. Sandsmark
7fe6264cbc
bootscript: try to boot more before giving up
2017-08-22 15:28:03 +02:00
Martin T. H. Sandsmark
accdf1001e
zero-gravitas.h: reset bootcount when failing to boot backup
2017-08-22 14:40:28 +02:00
Martin T. H. Sandsmark
3229fa88b2
add a simple flashing script
2017-08-16 14:07:59 +02:00
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