* Add / modify (c) in bash scripts
Signed-off-by: Igor <igor@armbian.com>
* Add (c) to the source config files
---------
Signed-off-by: Igor <igor@armbian.com>
* Remove deprecated Odroid XU4 legacy 4.14.y branch
* Clean deprecated kernels from meson64 family
- legacy kernel 4.9 was removed
- current 5.10 was replaced with 5.19
- edge remains on 5.19 until someone bumps it to 6
- patches between 5.11 and 5.18 were removed, 5.10 will be kept for awhile
* Update configs
* meson64: bump u-boot to 2021.07, rework patches
- as always based on chewitt's tree, with differences:
- squashed versions of HC4+SATA, Radxa Zero, DT tree sync patches
- so that DTB/config/code changes related to the same feature/board are grouped
- removed documentation changes and Makefile reordering patches
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* meson64: ODROID HC4/N2: simplify/remove board vs family hacks; better SPI support
- thanks to mainline 2021.07 u-boot and it's HC4 config we can remove the conditionals
- boards now define the u-boot vars instead of conditionals in family
- on the HC4, build u-boot twice: one for SD (old C4 config) and one for HC4 (new SATA/SPI config)
- reason is that the HC4 version does not work very well unless it is actually booted from SPI
- meson64_common: don't override UBOOT_TARGET_MAP if board-defined
- but the default UBOOT_TARGET_MAP is still defined if the board didn't
- (sneakily) add lm-sensors fancontrol to the HC4's board packages
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
- done in a single if block in sm1 family
- add nand-sata-install support via UBOOT_TARGET_MAP and write_uboot_platform_mtd
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
- We really want the u-boot.bin.sd.bin for HC4
- During VIM3L-adding commit, "odroid*c4" was replaced with "odroid-c4" and "odroid-hc4"
- Which is cool but it's actually "odroidc4" and "odroidhc4"
- Add a warning to save future time if no FIP tree decided by SM1 family
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
- Armbian already had all the FIP-magic needed, just use it.
- Introduce USE_ODROID_UBOOT with a list of branches that use Odroid's 2015 u-boot
- this is mostly in preparation for non-Odroid G12B/meson64 boards (Khadas VIM3...)
- In case $BRANCH is listed in USE_ODROID_UBOOT:
- use BOOTCONFIG_ODROID and BOOTSCRIPT_ODROID from board.conf
- build 2015 u-boot just like before
- Small hack into boot-meson64.cmd to handle u-boot vs kernel: n2_plus vs n2-plus DTB/FDT naming mismatch
- overrides the default $fdtfile based on $variant
- armbianEnv still has final say if $fdtfile is set there (it isn't for n2/n2plus)
- Extra:
- remove unused n2-mainline bootscript (maybe from a previous try?)
- comments about FIP trees being identical across N2/N2Plus and C4/HC4 families so no future time wastage
- only set CPUMIN/CPUMAX/GOVERNOR in meson64_common.inc if not already set by the board.conf
- Add some ${bootargs} debugging to mainline/default boot-meson64.cmd
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* cleanup add vim3l
* Add Khadas edge config
* Add Khadas edge sources definitions. It boots
* Change configuration to maximised model
* Adjust build configs
* witch to case statement for meson x11 config
* push vim1 naming
* Booting VIM2 with khadas prebuild u-boot
Can load from an empty eMMC, can be installed to eMMC via nand-sata-install
* Add Vim1 and move 1 and 2 to supported. VIM1 is not tested yet.
* Enable full featured desktop with 3D for khadas vim 1 and vim2
* Update meson64_common.inc
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
The mainline kernel is filling up logs about the ttyS0, it should be ttyaml0 on mainline as is inherited from meson64_common.inc, only overridden in case of legacy kernel.
- move Odroid C4 from legacy u-boot toward mainline
- get rid of dirty legacy u-boot code
- get rid of FAT boot partition
- briefly tested
- both kernels can operate with one standard boot script
- add upstream patch and adjust config
- fix console
- don't clock C4 too high by default
* Add initial support for Odroid N2+
* Update C4 config and test booting
* Updates to C4, N2, N2+
- merge C4 and N2 legacy under meson64, same u-boot
- upgrade legacy kernel to meed DTB from mainline
- merge N2 and N2+, add a hack to display + in motd when N2+ is detected
- shortly spin N2 fan at startup
- merged N2 mainline and legacy boot script
- add upstream patches
* One of the regulators were breaking booting of Odroid N2
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
* meson-sm1: use amlogic-boot-fip to generate boot binary for SM1
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* patch: add Linux and U-Boot patches
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* configs: enable Odroid-C4
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>