1
0
Fork 0
Commit Graph

9623 Commits (zero-gravitas)

Author SHA1 Message Date
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 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 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 6330a3ee65 Update default boot environment 2016-10-10 14:17:36 +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 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
Ash Charles 4bf11dc88c omap4: duovero: Disable EFI booting
The DuoVero board fails to compile with EFI enabled as the generated
binaries are too large.  As this platform doesn't currently need EFI,
disable this feature.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
2016-05-05 21:32:26 -04:00
Ash Charles ea948590a3 omap4: load files for legacy boot
Be sure to load the zImage and fdtfile prior to actually booting in
case we are doing a legacy boot.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
2016-05-05 21:32:18 -04:00
Robert P. J. Day b38eaec535 include/configs: Numerous typo fixes: "controler" -> "controller".
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2016-05-03 21:36:13 -04:00
Enric Balletbo i Serra e7fbcbc256 igep00x0: Use the SRAM available for SPL.
Move CONFIG_SPL_TEXT_BASE down to 0x40200000 and set CONFIG_SPL_MAX_SIZE
to (SRAM_SCRATCH_SPACE_ADDR - CONFIG_SPL_TEXT_BASE), so that it's clear
what the limit is.

This will also help some compilers to fit all the code into the allocated
space.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
2016-05-03 12:17:13 -04:00
Fabio Estevam 58abb988ce mx6ul_evk: Remove CONFIG_SUPPORT_EMMC_BOOT
mx6ul_evk does not come with a eMMC populated, so we should not
define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able
to boot some brands of SD cards, such as SanDisk microSD HC - 8GB:

U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11)
Trying to boot from MMC1
spl: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns
MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot
via SD card.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
2016-05-02 21:04:36 -04:00
matwey.kornilov@gmail.com f9f9d2d625 config: am335x_evm: detect BoneGreen using BBG1
Since 770e68c0a3
BoneGreen is detected in board_late_init as board_name 'BBG1'

Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
2016-05-02 18:37:10 -04:00
Andreas Bießmann 09c2b8f3e3 Change my mailaddress
I'll switch my mails to my own server, so drop all gmail references.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
2016-05-02 18:37:09 -04:00
Tom Rini f188357a15 Revert "ti_armv7_common.h: Fix U-Boot location on eMMC"
We cannot change the long standing hard-coded offset for raw boot mode
for everyone to accommodate how Android expects things to be done here.

This reverts commit ef5ebe951b.

Signed-off-by: Tom Rini <trini@konsulko.com>
2016-05-02 08:49:53 -04:00