Commit Graph

237 Commits

Author SHA1 Message Date
M. Efe Çetin
0f64de49f9 New legacy bootscript for rockchip-rk3588 so vendor/patched overlays work (#4734)
* Rename overlay prefixes to `rockchip-rk3588`

* support radxa-specific overlays
2023-02-01 20:15:01 +01:00
Markus Hoffrogge
be86d1bd27 Add missing print for NAND boot source
fixes #4532
2022-12-06 10:01:59 +03:00
Igor Pečovnik
9f7d9ff5c3 Add CSC Odroid M1 with legacy, current and edge kernel (#4368)
* `odroidm1`.wip: hk's `legacy`= 4.19 and `edge`= mainline+tobetter's 5.19 rebased; *requires* `skip_spiboot=true`

- @TODO: family/etc naming is terrible with vendor kernels. Sorry. Fight over it and let me know?
- @TODO: config is very probably incomplete.
- new `boot-rockchip64-vendor.cmd`:
  - does not use fixed load_addr, instead use ramdisk_addr_r for everything
  - load kernel and initrd as late as possible
  - look for overlays twice:
    - once: with prefix and folder
    - twice: without prefix, nor folder; helps with vendor provided overlays like hk's and tobetter's
- wip: edge: tobetter's patchset rebased against 5.19.3
- wip: edge: bump to tobetter's 5.19
- legacy: .config `CONFIG_ARM64_VA_BITS_48=y`
- wip m1: update legacy config from odroid
- odroidm1: container/bpf stuff in legacy config

* Update configs and enable beta build target

* Adjust current kernel

* Update targets

* Remove everything but EDGE kernel

* Cleanup

* Fix

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2022-10-30 21:09:16 +01:00
David Manouchehri
420c1184df Add kaslrseed to Rockchip. (#4352) 2022-10-26 18:30:11 +02:00
hzyitc
d57777caad onecloud: Enable Plymouth (#4228) 2022-09-25 14:56:54 +02:00
hzyitc
11d2ef63c3 Support Plymouth (#4133)
* Add plymouth-theme-armbian package

* Adjust all bootscripts to adapt plymouth

* Auto show logo accroding to BOOT_LOGO

* Enable plymouth detail mode when bootlogo=false

* Add a new board config var - HAS_VIDEO_OUTPUT

This var is used to indicate whether device has a HW video output.
If it's set to "no", we will disable kernel bootsplash, plymouth and BUILD_DESKTOP

* Rename package to be aligned with others

* Disable kernel bootloader, but keep the code for it

* Rather keep bootlogo in the kernel for a while, otherwise kernel upgrade will turn bootup into the darkness

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
2022-09-13 15:16:30 +02:00
Vyacheslav Bocharov
aecc535d1a Fix typo in boot-jethub.cmd 2022-08-19 17:14:55 +03:00
hzyitc
8358471816 Onecloud: some update (#4073)
* Onecloud: Rename back to csc

* meson: Adjust sources config

* Onecloud: disable u-boot compilation

* Onecloud: Add armbianEnv.txt
Onecloud: Use UUID to special rootfs

* Onecloud: bootscript lint

* Onecloud: bootscript support extraargs

* Onecloud: support output boot log to HDMI

* Onecloud: tweak VCC_CORE

* Typo
2022-08-17 19:44:55 +02:00
Vyacheslav Bocharov
9b2b0a84c9 JetHub: Update boot.cmd for JetHub D1 hw rev.02/03 2022-08-11 12:50:31 +03:00
Derek
21003d4c85 allow booting off more than first partition with distroboot (#3977) 2022-07-09 16:30:05 +02:00
hzyitc
a863b5a242 Onecloud: fix some bugs (#3873)
* Refactor patches

* Fix bug: the USB closed to the HDMI doesn't work

* Fix bug: cpufreq doesn't work

* Fix bug: thermal_zone doesn't work

* More frequency governors

* Add bootscript

* Fix bug: add missing dependency
needed for gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
2022-06-11 18:03:03 +02:00
Derek
a6f484acf6 add compatibility with old u-boot environment (#3789)
* add compatibility with old u-boot environment
* set the boot script to overwrite the old one
2022-05-26 16:39:08 +02:00
Derek
c1eb4e0c64 Changes to allow building for Macchiatobin and building modules necessary to operate mcbin hardware (#3784)
* tf-a sources use mrvl_flash rather than 'all' target

* add armada 8k ethernet and SFP cages for macchiatobin use

* u-boot configuration for mcbin

* fix bootscript for u-boot variables

* separate ebin and mcbin with if statements

* add a8k PCIe and CPUFreq drivers for macchiatobin
2022-05-23 16:16:12 +02:00
crocinsocks
37e898332a WaveShare Touchscreen Driver Fix (Odroid) "disable_vu7" (#3799)
* Update boot-meson64.cmd

Fix disable_vu7 functionality by enabling usbhid quirks when set to false

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update general-input-touchscreen-Add-D-WAV-Multitouch.patch
2022-05-23 16:15:25 +02:00
Derek
3b38be8a9c Espressobin u boot fit image (#3766)
* add the image tree source for building FIT images for ebin

* add FIT image generation to BSP files

* Change to using FIT image to boot

* make fit-image script executable

* add the ability to choose board dtb in armbianEnv.txt
2022-05-07 15:50:53 +02:00
Vyacheslav
36e5c838db Rename "load_addr" to "scriptaddr" in u-boot scripts to match the names (#3296)
with the u-boot default variables.
2022-05-03 08:03:10 +02:00
Derek
63a6593336 begin to support u-boot distroboot (#3675) 2022-04-23 12:33:01 +02:00
Jannis
ae3ad1fdee Apply changes to Espressobin from Issue#2861 (#3498)
* Apply changes to Espressobin from Issue#2861

* Additional config changes

* Add cryptopp to marvell tools

* Remove local DDR topology changes

* Disable ebin MACs in armbianEnv.txt

* Change kernel options for ebin, remove mtdparts

* Add CZ.NICs ebin firmware

* Increase ATF compiler version"

* fixup external toolchains

* add gcc-aarch64-linux-gnu package (#3585)

* correct compiler names for ATF, external toolchain

Co-authored-by: Derek LaHousse <dlahouss@mtu.edu>
Co-authored-by: Derek <ManoftheSea@users.noreply.github.com>
2022-03-28 07:16:22 -04:00
Paolo Sabatino
56f5f94561 rk322x: reboot in maskrom mode when reset button is pressed 2022-03-18 17:26:46 +01:00
Uli Middelberg
4bcad9ebd7 This modification will allow to boot an unmodified cubox-i image on the utilite pro. Beside of this the image can also boot from a different storage media like usb without modification, because most of the distroboot settings are going to be used now. (#3527) 2022-03-12 23:16:04 +01:00
Igor Pecovnik
9479c0473f Revert "Fix "Meson memory addresses for loading kernel/ramdisk/dtb is not working on 512Mb variants" (#3263)"
This reverts commit eead1f1ec1.

Until https://github.com/armbian/build/pull/3263 is not solved the way we don't break things.
2021-11-21 16:40:39 +01:00
Vyacheslav
eead1f1ec1 Fix "Meson memory addresses for loading kernel/ramdisk/dtb is not working on 512Mb variants" (#3263)
Fixes: [AR-987]  #3171 #3244
2021-11-17 12:34:07 +01:00
Vyacheslav
c528354c42 Revert "Change bootscripts/boot-meson64.cmd memory addresses for loading (#3171)" (#3244)
This reverts commit 300ff669e4.
2021-11-10 19:48:57 +01:00
Vyacheslav
300ff669e4 Change bootscripts/boot-meson64.cmd memory addresses for loading (#3171)
kernel/ramdisk/dtb, so now the script is compatible with boards
with 512Mbytes of memory.

Values:

fdt_addr_r "0x10000000" # 256Mb
load_addr  "0x10100000"  # 256Mb + 1Mb
kernel_addr_r "0x11000000" # 256Mb + 16Mb
ramdisk_addr_r "0x19000000" # 256Mb + 16Mb + 128Mb

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-26 22:16:16 +02:00
Vyacheslav
3c4b69650e Add support for JetHome JetHub D1/H1 home automation controllers (#3176)
* JetHome: add basic files for JetHub D1/H1 boards

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add uboot patches

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel)

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add bsp packages for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel options for hardware JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: fix targets-cli-beta.conf for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add axg uboot creation function for JetHub D1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-19 21:05:36 +02:00
Ricardo Pardini
334d847512 ODROID N2(+): chewitt's uboot + SPI-NOR enable via extra DTBs = SPI Boot to USB, no more hangs. (#3119)
- fix/dup bootscript, since new u-boot fixed n2_plus to n2-plus variant
- g12b: if n2 and edge, enable new u-boot; include non-SD version as SPI binary; write_uboot_platform_mtd
- Kernel DTS patch to add SPI-flash-enabled DTBs (slower eMMC), produces -spi .dtbs for n2 and n2-plus
  - This could also be an overlay, but I dunno overlays.
- SPI+USB3 boot works with "pendrive" storage, untested with cabled/high power USB->SATA or USB->NVMe

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-09-02 20:44:19 +02:00
Igor Pečovnik
d54b2d6a84 Adding OPi Zero2 legacy kernel support (#2620)
* Adding OPi Zero2 legacy kernel support
2021-08-12 19:19:18 +02:00
Ricardo Pardini
78a320b1fd edge: ODROID N2/N2+ mainline U-boot; keep odroid-2015 u-boot for legacy and current
- 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>
2021-07-07 19:55:58 +02:00
Ricardo Pardini
fb69b203d6 Non c4 meson64 fixes (#2967)
* Fix: use $fdtfile for legacy boot DTB, not hardcoded "amlogic/meson64_odroidc4.dtb"

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* drop unused c4 bootscript

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-04 22:44:18 +02:00
Aristo Chen
4f3b2ab999 Remove extra tab (#2855) 2021-05-28 19:40:26 +02:00
Aristo Chen
95fef5d443 Fix inconsistent indent (#2853) 2021-05-27 20:40:06 +02:00
Lane Jennison
928ed03c5f more hacking 2021-05-16 18:37:13 -04:00
tim
f60920a2b7 Add Avnet MicroZed 2021-04-10 20:39:31 -04:00
Orel
db6a2dd17c Add overlay_error env on sunxi64 to enable overlays support (#2679)
* Add overley_error env on sunxi64 to enable overlays support
* Add overlay_error env for mvebu
2021-03-02 12:52:14 +01:00
Igor Pečovnik
922f3b4f38 Add libata.force=noncq to the meson64 kernel command line (#2602) 2021-02-02 16:50:20 +01:00
Igor Pecovnik
e2104390d9 Fix Odroid C4 / HC4 problem
Need to check other meson64 family
2021-01-06 23:39:59 +01:00
Igor Pečovnik
1d33d7d0cc Remove doubled parameter 2021-01-06 09:03:00 +01:00
Igor Pečovnik
e833e2589c Move Odroid C4 from legacy u-boot toward mainline (#2350)
- 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
2020-11-22 13:47:41 +01:00
Igor Pečovnik
8a6668149d Update boot-odroid-n2-mainline.ini 2020-10-19 14:16:49 +02:00
iav
599dd2a8cb Don't delete /boot/armbianEnv.txt file at least for meson64 (#2252)
* Don't delete /boot/armbianEnv.txt file at least for meson64
fix for #2249 ODroid-N2 armbian-config-->hardware menu not work

* Update meson.txt

* Update boot-odroid-n2.ini

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-10-13 20:34:45 +02:00
seth-hunter
36aef09c8c Revert removal of armbianEnv.txt load on odroid-xu4 (#2226)
Fixes breakage of setting board_name, usbstoragequirks, and extraargs on odroid-xu4 via armbianEnv.txt

Co-authored-by: hunter <hunter@localhost>
2020-09-27 18:49:11 +02:00
Phossule
54172e0593 Update boot-odroid-c4.ini (#2216)
Fix a bug that prevents user from choosing any CPU frequency > 1.8 GHz.  Also increase the offered overclocking range.
2020-09-18 12:24:03 +02:00
Igor Pečovnik
0c617a3c3b Move Espressobin to 5.8.y (#2187)
- remove fixed MAC from boot script
- remove legacy kernels images from making
2020-09-05 17:16:01 +02:00
Igor Pečovnik
d055f452c4 Extend initird loading address
Just to make sure in case kernel gets larger-
2020-08-29 22:06:25 +02:00
iav
a2cfc820a6 Allow oDroid-N2 to boot if first partition mounted as root by uBoot (#2158) 2020-08-28 18:47:15 +02:00
Igor Pečovnik
6c26c35344 Add initial support for Odroid N2+ (#2130)
* 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>
2020-08-08 17:20:00 +02:00
Igor Pečovnik
c0f135a0ef Init ramdisk is getting larger. Making more room for its deployment (#2108) 2020-07-27 19:38:40 +02:00
Igor Pečovnik
8a5a4212f0 Odroid XU4 Cloudshell improvement
Reverting tiny change
2020-07-17 10:51:00 +02:00
Igor Pečovnik
aef03587a3 Add TFT LCD and FAN control support (#2095) 2020-07-17 10:28:51 +02:00
Igor Pečovnik
7d758026b5 Enable kernel boot splash, env and bootscript files cleanup, upstream patches (#2065)
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
2020-06-27 19:14:38 +02:00