Commit Graph

268 Commits

Author SHA1 Message Date
amazingfate
4416b311bc bootscript: rename boot-rk3588-legacy.cmd to boot-rk35xx.cmd 2024-10-05 12:27:39 +02:00
amazingfate
94cf4f4146 bootscript: rk3588-legacy: sync with boot-rockchip64.cmd 2024-10-05 12:27:39 +02:00
ColorfulRhino
ccf17a20e8 Purge s5p6818 board family
The family consists of 4 boards, but hasn't seen any activity in years,
is unmaintained, stuck on EOL Linux 4.14 and the bootloader does
not build.
2024-07-03 06:49:46 +02:00
ColorfulRhino
2937ceb6de bootscript: Remove deprecated bootarg "swapaccount=1"
The "swapaccount=" option has been deprecated in 6.1. Disable it in almost all boot scripts except "boot-sun50iw9.cmd" since that one is used in sun50iw9 legacy kernel, which is version 4.9.

Link to kernel commit:
b25806dcd3
2024-06-25 18:11:55 +02:00
Daniel Gonçalves
285ff7583c fix: cloudshell2 dtbo overlay path in boot.ini
Currently, dtbo path in boot.ini is wrong. So we cannot load device tree blob overlays for cloudshell2. This commit fix this path in boot.ini
2024-06-05 21:19:14 +02:00
kernelzru
9d8eb46572 Update boot-odroid-c1.ini
-Clean, remove params for old kernel
-Add option to disable usb autosuspend
-Add display console
2024-05-19 19:42:05 +02:00
Tony
e3f9292566 Update boot-meson-gx.cmd
formatting update
2024-05-19 19:41:05 +02:00
Thomas McKahan
481fca9ebb meson64: fix Lafrite boot
create new boot script free of G12 stuff, using default u-boot load addresses.
La Frite boots from USB as well as eMMC, add ability to get root device via PARTUUID
2024-05-19 19:41:05 +02:00
Gunjan Gupta
c7492bedc1 VIM1S/VIM4: always use symlinks from /boot for booting 2024-05-03 16:35:53 +01:00
Paolo Sabatino
fb7484f3f9 rockchip: bump rk322x u-boot to v2024.01
* update the defconfig and accomodate upstream changes
 * introduce hdmi/vop/phy drivers and enable hdmi
 * fix clock driver
2024-05-01 08:29:03 +01:00
ColorfulRhino
0cbd0c9a8a bootscripts: Delete unused/left-over boot-rockchip64-vendor.cmd 2024-03-22 22:21:44 +00:00
ColorfulRhino
c2c672f07c bootscript: rockchip64, rk3588-legacy: Inform user that kaslrseed error can be ignored 2024-03-21 16:05:51 +00:00
ColorfulRhino
929ca08af5 bootscript: Fix error "Failed to load '...-fixup.scr'" for rockchip64, rk3588-legacy 2024-03-21 16:05:51 +00:00
brentr
d10951de7c Initial support for Radxa Rock S0 board (#6261)
* Initial support for Radxa Rock S0 board
* Lets start this board as a WIP target
---------
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2024-02-12 09:06:04 +01:00
Gunjan Gupta
2029f7edc2 meson-s4t7: disable lcd nodes if lcd is not attached 2024-02-09 19:40:14 +01:00
Gunjan Gupta
c47c9372bf Khadas VIM1S & VIM4 - 5.15 kernel bump (#6201)
* meson-s4t7: bump u-boot to khadas-vims-u-boot-2019.01-v1.6-release
* Use khadas default bootargs as much as possible
* Add new hook to allow copying code into kernel
* meson-s4t7: legacy: Switch to 5.15 kernel
* meson-s4t7: add kernel-config for 5.15 kernel
* device tree overlays for 5.15 kernel for vim1s and vim4
* restructure packaging of bsp files for vim1s/vim4
* silence vblank warning on boot
* Remove display workaround as it doesn't work with 5.15 kernel
* Remove 5.4 kernel patches
2024-01-26 08:40:11 +01:00
Brent Roman
96caa18e95 Boot script overrides u-boot's fdt_addr_r to ensure the
ever expanding Linux kernel will not overlap the device tree load area
2024-01-26 08:39:10 +01:00
Alex Shumsky
0df6d6eafb rockchip64: Fix "Load kernel from the same bootpart boot.scr was loaded from" 2023-12-10 18:28:21 +01:00
Alex Shumsky
972a129c5a rockchip64: Load kernel from the same bootpart boot.scr was loaded from 2023-12-04 00:07:26 +01:00
Gunjan Gupta
0706fb170a bootscript: meson-s4t7: fix booting on ubuntu 2023-11-14 00:13:11 +05:30
Gunjan Gupta
2c8d551422 meson-s4t7: Add option to force 16x9 display resolution
Khadas's 5.4 kernel has a broken hdmi subsystem that can result into
a monitor not working even if it supports one of the required display
resolution. Hence adding a workaround that will force use of one of
the 3 16x9 resolutions supporting most of the HD-ready, full-HD and
4K monitors.
2023-10-09 17:38:35 +05:30
Andrew Davis
127ab401cf K3: Update to latest U-Boot v2023.10-rc3 2023-09-06 13:06:25 +02:00
Gunjan Gupta
efbcae34f7 Khadas Vim1s: Fix display output
This however only works for selected monitors with 1920x1080 and 4K
resolutions.
2023-09-02 17:50:50 +05:30
Gunjan Gupta
02051676b0 meson-s4t7: Enable dtbo support
The support is implemented by using dtbo files supplied by Khadas directly
in the linux-dtb package. The files are not compiled just copied.
2023-08-15 16:03:24 +02:00
Andrew Davis
34f459158e Add initial support for TI SK-AM62B board 2023-08-04 09:52:55 +02:00
Ricardo Pardini
950674b79e boot-rk3588-legacy bootscript: add a lot of debugs
- rk's 3588 vendor u-boot (and Radxa's, etc) have trouble with our usage of load+import, add echo's to debug what breaks
2023-07-01 14:54:02 +02:00
Andrew Davis
09ecdc9ae1 Add initial support for TI SK-AM64B board 2023-06-20 07:43:09 +02:00
Ricardo Pardini
d9f2ec3255 qemu-uboot-arm64/qemu-uboot-x86: split more x86/arm64 differences, add some docs, bump to u-boot 23.04 +update-patches; add arm64 bootscript 2023-04-28 21:32:52 +02:00
Ricardo Pardini
1e61b60cf8 orangepizero2/sun50iw9/legacy: implement pre_package_kernel_image hook to convert vmlinuz to uImage manually; fix legacy u-boot build
- sourceaddr `0x40008000` was found in Xunlong's legacy kernel source squashed into a huge commit. Thanks, Xunlong!
- bring `busybox` dependency with inline hook for legacy u-boot "unix2dos" which is essential
2023-04-08 14:33:39 +02:00
CueMaxX
6aad142ac8 Update boot-sunxi.cmd
'setenv console "display"' in boot-sunxi.cmd & in armbianEnv.txt had the same effect as 'setenv console "both"'.
That was due to a false if-statement in boot-sunxi.cmd:41
Fixed that, so 'setenv console "display"' will not co-enable the serial console anymore.
2023-03-28 10:51:41 +02:00
Ricardo Pardini
4a9529dd34 armbian-next: qemu-uboot-arm64 and qemu-uboot-x86 new boards
- sharing most UEFI code, will replace the `virtual` one soon
- x86: patch uboot defconfig to use the `q35` machine type, not `i440fx`
  - separate x86 bootscript, due to non-uInitrd-ness of it
  - hack ramdisk load address both in u-boot source and bootscript
  - use 32-bit u-boot, not 64-bit
- grub: introduce `UEFI_GRUB=skip`, does not deploy GRUB (but does the kernel packages, etc)
- auto-enable qcow2 output for these
- works with both distro's and Armbian's kernels
2023-02-18 07:40:33 -03:00
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