1
0
Fork 0
Commit Graph

14134 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
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 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 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 b2c72a0a43 enable our late init routine for low battery handling 2017-04-24 18:57:17 +02: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 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 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 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 231ed29fcb Enable reading of serial tag from OCOTP 2016-12-02 11:18:33 +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 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
Martin T. H. Sandsmark 57496e7eed Add some missing registers definitions for pf100 2016-09-27 18:38:29 +02:00
Martin T. H. Sandsmark 3588b75eb3 Adjust for mmc changes 2016-08-16 20:28:06 +02:00
Martin T. H. Sandsmark 060ded3a14 Make default boot script load device tree 2016-08-15 20:27:19 +02:00
Martin T. H. Sandsmark d267d3330a Update our device tree filename 2016-08-15 20:26:51 +02:00
Martin T. H. Sandsmark a0e20c0ab6 Fix size of RAM 2016-08-12 21:28:04 +02:00
Martin T. H. Sandsmark 40e3de4f82 Add a board config header 2016-07-29 14:35:42 +02:00
Otavio Salvador 158a5196a5 Prepare v2016.05
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJXOdxnAAoJEIf59jXTHXZSvIQQAInTqpaxpGCoiXyGmMAkaGNy
 cliwUE4pFQE1MW5c2ZxMjgExuT7gBq0yRO3jBWm+U1RmjbN56jw3RBwX+HOIJ8X1
 7uYr2amPVvnq0ZOZpP62JCmXGiQqoLfgIlSpcLxzYg7Y1tGwvXj3ds8Tab7Iklg3
 uaq0/tRjE5aTNRl0lpXLscC4VtTQSuakfuHcfwgFLQsVfY8fnoJ9cnwyBPkLVsSL
 +NHmMbup5ZEIOS6LOl5uLYaar8/SZ73N2gxfbrye5Ar47w4VwGeQxAOPHQUGNPB7
 HErL+dMQ0att36Az9saV0ExCC76JXl/2SvG1Da8t1rJqCAfhuPQI9/GjLOoYl9e/
 GuOl8uz0SzimEKqJJKAhQXebmT8fDgZ/IKQ6hPo9npQRmmMXG/tNEqomBgpxJyFO
 x5zCk6dfKywQkcOn1mzw6iLqiozieBkD8Xqh8lTIWo9xAS9twf5VkLYsT4qmHTap
 3g3meWgZr5hxci4Hna97PSwFp32Z/lnD67Lzr6aOPi651EiOHTrddrFtoXYMCCx7
 jIZ4E00tCOE/KfWRGzo0VEATYu51Iumgj49WDrPAnLBbDQC+y4PEMwLU/dkbKY4f
 9bB83qFTpTWsmd8NSoGde5XMHu9uHjm5z7HcYQxiG6Swhmsi4fwv/gUXTaDeaFSB
 KvcIqhxiIwFwZEL/GWFw
 =puMF
 -----END PGP SIGNATURE-----

Merge tag 'v2016.05' into 2016.05+fslc

Prepare v2016.05

* tag 'v2016.05': (65 commits)
  Prepare v2016.05
  sunxi: Enable USB host in CHIP defconfig
  test, tools: update tbot documentation
  tests: py: fix NameError exception if bdi cmd is not supported
  arm/arm64: Move barrier instructions into separate header
  arm: socfpga: Update iomux and pll for c5 socdk RevE
  warp7: Fix boot by selecting CONFIG_OF_LIBFDT
  usb: gadget: dfu: discard dead code
  dfu: avoid memory leak
  usb: dwc2: Add delay to fix the USB detection problem on SoCFPGA
  usb: hub: Don't continue on get_port_status failure
  usb: Assure Get Descriptor request is in separate microframe
  usb: Wait after sending Set Configuration request
  socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled
  mtd: cqspi: Simplify indirect read code
  mtd: cqspi: Simplify indirect write code
  arm: socfpga: socrates: Add 'time' command
  ARM: socfpga: Disable USB OC protection on SoCrates
  usb: Don't init pointer to zero, but NULL
  usb: ehci-mx6: allow board_ehci_hcd_init to fail
  ...

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-16 17:19:56 -03:00
Otavio Salvador 0fcd279712 wandboard: Drop revision specific DeviceTree support
The 3.10.53 and 3.14.28 Wandboard kernels handles the revision in a
single DeviceTree file so the boot script needs to respect that.

This should be reworked in the Wandboard kernel to make it to use the
same schema adppted by the Linux mainline and allow an easy change
between them, however, this need be coordinated before we can do this
in the FSL Community fork as well.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-10 14:35:51 -03:00
Nikolay Dimitrov 0ab586a7dd mx6sabresd: Enable video interfaces in bootargs
Generate kernel video bootargs for sabresd, based on a list of needed video
interfaces ("video_interfaces" U-Boot env-var). The order of initialization
and video settings can be fully customized.

Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
2016-05-10 14:35:51 -03:00
Otavio Salvador 59769784c6 Revert "embestmx6boards: convert to use config_distro_bootcmd.h"
This reverts commit c86efd85e9.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-10 14:35:51 -03:00
Ye.Li 91f4fa538d iMX6: Change mmcroot to use fixed mmc block index for USDHC
Kernel changed to use fixed mmcblk index for USDHC, which is
mmcblk0 --> USDHC1
mmcblk1 --> USDHC2
mmcblk2 --> USDHC3
mmcblk3 --> USDHC4
Thus, change the default mmcroot in u-boot to fit the changes in kernel.

Signed-off-by: Ye.Li <Ye.Li@freescale.com>
2016-05-10 14:35:51 -03:00
Daiane Angolini 968d8727e0 embestmx6boards: Change default bootenv configuration
Change CONFIG_MMCROOT and CONFIG_SYS_MMC_ENV_DEV in
order to have a smooth boot process with sdcard image
built from meta-fsl-arm-extra.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-10 14:35:51 -03:00
Otavio Salvador 323307224f mx6sabresd: Use LDO dtb file until LDO bypass support is added
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-10 14:35:51 -03:00
Otavio Salvador df5f6680b2 mx6slevk: Use LDO dtb file until LDO bypass support is added
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-10 14:35:51 -03:00
Marek Vasut a858d98d53 ARM: mx6: Enable MMC and SATA extfs boot support
Enable support for booting U-Boot image from ext filesystem when either
SD/MMC or SATA support is compiled into the SPL. This will allow easy
transition from loading U-Boot image from ad-hoc offset on the card to
loading U-Boot image from the filesystem. VFAT support is intently not
enabled. The boot order is tweaked so that raw is tested first and if
the raw has no signature, FS boot is attempted.

To install just the SPL on i.MX6 board, perform the following operation
 $ dd if=SPL of=/dev/sdX seek=2 bs=512
To install the U-Boot image, copy u-boot.img to the first partition of
the SD/MMC/SATA drive. The partition must be formated to extfs.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Peng Fan <van.freenix@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@konsulko.com>
2016-05-09 09:42:33 +02:00
Marek Vasut 5054e50473 SPL: Let spl_parse_image_header() return value
Allow the spl_parse_image_header() to return value. This is convenient
for controlling the SPL boot flow if the loaded image is corrupted.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Peng Fan <van.freenix@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@konsulko.com>
2016-05-09 09:41:25 +02:00
Marek Vasut 83609b36c5 ARM: mx6: Enable STDIO deregistering on Novena
Novena supports USB keyboard, which is a pluggable device and can be
unplugged. Thus, we need to be able to deregister it's stdio device.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
2016-05-09 09:29:07 +02:00
Robert P. J. Day 1cc0a9f496 Fix various typos, scattered over the code.
Spelling corrections for (among other things):

* environment
* override
* variable
* ftd (should be "fdt", for flattened device tree)
* embedded
* FTDI
* emulation
* controller
2016-05-05 21:39:26 -04:00