1
0
Fork 0
Commit Graph

9338 Commits (zero-gravitas)

Author SHA1 Message Date
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 5579e106a5 zero-gravitas: Fixed warning 2018-01-26 11:15:05 +01: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 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 0d0a7a9d21 fix build without epdc support 2017-05-22 14:28:34 +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 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 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 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 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 c1794c409e Start on battery checking during boot 2016-12-02 11:14:47 +01: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 47a01543d2 Print the contents of the INSTAT registers on boot 2016-09-28 11:58:45 +02:00
Martin T. H. Sandsmark 32b32132d2 Add hack to launch USB serial download mode on magic key press 2016-09-27 18:42:02 +02:00
Martin T. H. Sandsmark 2a7419c1d8 Fix MAINTAINERS 2016-09-07 09:31:21 +02:00
Martin T. H. Sandsmark e0be6171bb Document the clocks in DCD 2016-08-23 12:12:28 +02:00
Martin T. H. Sandsmark 5fee53e5d1 Add RST pin to USDHC2 2016-08-23 10:37:29 +02:00
Martin T. H. Sandsmark 3d874ddfd3 Bring up clocks in DCD 2016-08-23 10:34:44 +02:00
Martin T. H. Sandsmark b04283e042 Disable CD pins for usdhc2 and usdhc3 2016-08-23 10:30:30 +02:00
Martin T. H. Sandsmark 3588b75eb3 Adjust for mmc changes 2016-08-16 20:28:06 +02:00
Martin T. H. Sandsmark 9fed9e35b4 Manually enable UART clock, this might be done in the DCD instead 2016-08-15 19:10:05 +02:00
Martin T. H. Sandsmark 4e37642b7c fix format of dcd data 2016-08-11 17:56:25 +02:00
Martin T. H. Sandsmark 3816c1aeaf Yank out DCD from old Freescale example for imx6sl + ddr3 2016-08-04 17:05:00 +02:00
Martin T. H. Sandsmark db2fdc22f6 Revert "Replace DCD with one from Kaifa"
This was still non-bootable for Kaifa.

This reverts commit 30648ce8d2867915c80c4e22646ab815151f044f.
2016-08-04 13:13:17 +02:00
Martin T. H. Sandsmark 98363af830 Try to update the SPL DDR init code, based on the sabresd code using DDR3 2016-08-04 13:12:50 +02:00
Martin T. H. Sandsmark f6eaee96b1 Replace DCD with one from Kaifa 2016-08-04 11:59:40 +02:00
Martin T. H. Sandsmark f3695d5c01 fix build 2016-07-29 15:20:04 +02:00
Martin T. H. Sandsmark e37df70399 Update position of our configs 2016-07-29 15:07:43 +02:00