Stefan Agner
ea47d13dfd
Fix boot script issues ( #1024 ) ( #1026 )
...
The change "Avoid trying to boot non-existing kernel image in failover
case" introduced a broken boot script on Raspberry Pi (when booting from
partition B) and ODROID-XU4.
2020-12-01 14:55:45 +01:00
Stefan Agner
635e648a0a
Avoid trying to boot non-existing kernel image in failover case ( #1016 )
...
* Avoid trying to boot non-existing kernel image in fail-over case
The A/B update system automatically switches to the other boot slot when
booting fails. However, in a fresh installation, only boot slot A
exists. If booting fails three times (e.g. if somebody plugs out power
before the slot can be marked as good), then the system switches to boot
slot B which does not contain a kernel image yet. Avoid trying to boot
the non-existing kernel image.
With this change, if slot B is empty U-Boot will restore both slots to 3
attempts and retry booting from slot A on next reboot:
```
Trying to boot slot B, 2 attempts remaining. Loading kernel ...
** Unrecognized filesystem type **
No valid slot found, resetting tries to 3
storing env...
```
Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch >
2020-11-25 10:57:30 +01:00
Stefan Agner
f9c29ef209
Fix CDC ACM error recovery in Raspberry Pi kernels as well ( #940 ) ( #962 )
...
Backport fixes for CDC ACM error recovery path.
2020-11-06 10:10:58 +01:00
Pascal Vizeli
69d2f633c5
RaspberryPI: Fix issue with correct SYMLINK with ttyAMA ( #915 )
2020-10-20 19:10:07 +02:00
Stefan Agner
0db7013427
Drop UART write retry patch from U-Boot ( #873 )
...
The patch causes U-Boot freezes in some configurations. The root cause
is that U-Boot does not allow to use the bss section in pre-relocation
code (which is where the UART is used). Drop the patch as it is not
required currently.
See also:
http://u-boot.10912.n7.nabble.com/RPi4-U-Boot-freeze-td424432.html#a427198
2020-10-05 22:20:59 +02:00
Stefan Agner
269e97cd1c
Make sure udev rule only applies to first PL011 UART ( #778 ) ( #862 )
...
The to symlink serial0/1 currently might apply to the first or second
ttyAMAX instance. In downstream, a patch makes sure that the first
PL011 is always ttyAMA0. However, upstream the numbering depends on the
UART alias, which leads to the first PL011 being ttyAMA1.
Check the actual iobase too to make sure we are dealing with the first
PL011 instance.
See also:
05cfe136f7 (diff-2678c183f503319c8d8c09c818af789a)
2020-10-05 22:20:31 +02:00
Stefan Agner
b72d175754
RPi4 fix WiFi with 802.11r fast roaming enabled ( #733 ) ( #830 )
...
Add brcmfmac patch which adds 802.11r fast roaming support.
2020-09-07 09:06:52 +00:00
Pascal Vizeli
1976d6bb8a
Fix RPi4 with buildroot v2020.02.4 ( #815 )
2020-08-07 10:51:10 +00:00
Pascal Vizeli
367acbd884
RaspberryPi move back to 4.19 Kernel ( #723 )
...
* RaspberryPi: Update kernel 4.19.126 - f6b3ac28f0a9137d4c24c0b8832e693bbd16f5b7
* RaspberryPi: Update firmware 7caead9416f64b2d33361c703fb243b8e157eba4
* Remove kernel for 5.4
2020-06-06 11:10:49 +00:00
Pascal Vizeli
ae853f2b28
Fix RPi4 uart 2-5 ( #706 )
2020-06-02 21:34:45 +00:00
Pascal Vizeli
db184bf5d3
Make machine-id persist ( #649 )
...
* Make machine-id persist
* update
* Adjustments
* cleanup
* fix cleanups
* small cleanup
2020-05-04 15:11:43 +02:00
Pascal Vizeli
34b7bbd68d
New approach for uboot and rpi 5.4 ( #635 )
...
* New approach for uboot and rpi 5.4
* fix dts
* Update firmware to next
2020-04-25 11:17:03 +02:00
Pascal Vizeli
98f13d9282
RPi 5.4 ( #631 )
...
* RaspberryPi: Update kernel 68fd7d52c9fc7c40b996d6b91acaf3e03b2c3ea0
* update kernel config
* update bootloader
* Fix boot
* work
* fix boot
* Fix script
* optimize script
2020-04-23 23:05:28 +02:00
Pascal Vizeli
45c62716cb
New way to install/run supervisor + plugins ( #620 )
...
* Use new layout for CLI/Supervisor
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
* Fix install script
* Fix config
* Add docs
* Fix shellcheck
* Fix issue
* rename package
* Fix build
* Fix apparmor
2020-04-21 14:37:25 +02:00
Pascal Vizeli
a592fc9866
Change handling for SPL based images ( #578 )
...
* Change handling for SPL based images
* Fix script
* Fix path for rauc-hook
2020-02-10 14:52:03 +01:00
Pascal Vizeli
51cf310472
Fix odroid issues ( #556 )
...
* Adjust kernel for C2/N2 & Kenrel 5.4.16
* Update docs
* Add script to fix mac with efuse
* Fix script
* update description
* Fix script
* Use u-boot patch
* Fix patch
2020-02-01 21:57:20 +01:00
Pascal Vizeli
d340e79bea
Fix RPI issues with u-boot / firmware ( #503 )
...
* Fix RPI issues with u-boot / firmware
* Cleanup bluetooth handling
* Use RC4 for u-boot on rpi4
2019-12-10 19:07:16 +01:00
Pascal Vizeli
e71400cd5c
Fix handling with FB on RPi4 ( #477 )
2019-09-13 14:08:47 +02:00
Pascal Vizeli
61516914ce
Fix screen issue with RPi4 ( #472 )
2019-09-09 17:10:28 +02:00
Pascal Vizeli
28d262eecd
Add simple fb for 64bit
2019-08-28 13:16:50 +00:00
Pascal Vizeli
d1d3593d65
Fix boot ( #459 )
...
* Fix permission check
* Remove fails on copy
* Disable FB_BCM2708
* Don't touch the memory map from first stage
* bootcode.bin is not needed on rpi4
2019-08-28 10:32:46 +02:00
Ryan Bray
fed40532c1
rpi: Add USB boot support ( #440 )
2019-07-23 14:28:22 +02:00
Pascal Vizeli
14d91e094a
RaspberryPi 4 ( #428 )
...
* RaspberryPi4 support
* Update kernel file
* Fix lint
* Fix uboot defconfig
* Update firmware for rpi4
* fix naming
* Add support for 64bit
* fix path for dts
2019-07-16 09:44:29 +02:00
Pascal Vizeli
60c9013535
Travis ( #269 )
...
* Update build-all.sh
* Delete ovf-create.sh
* Update patches.sh
* Update hdd-image.sh
* Create .travis.yml
* Update hdd-image.sh
* Update hdd-image.sh
* Update hdd-image.sh
* Update hdd-image.sh
* Update ota.sh
* Update post-build.sh
* Update post-image.sh
* Update rauc.sh
* Update rootfs-layer.sh
* Update hassos-cli
* Update hassos-supervisor
* Update hassos-config
* Update hassos-apparmor
* Update hassos-expand
* Update hassos-persists-journald
* Update hassos-rate
* Update hassos-hook.sh
* Update hassos-hook.sh
* Rename uboot-boot.sh to uboot-boot.ush
* Rename uboot-boot.sh to uboot-boot.ush
* Update hassos-hook.sh
* Rename uboot-boot.sh to uboot-boot.ush
* Rename uboot-boot.sh to uboot-boot.ush
* Update hassos-hook.sh
* Update odroid_c2_defconfig
* Update rpi0_w_defconfig
* Update rpi2_defconfig
* Update rpi3_64_defconfig
* Update rpi3_defconfig
* Update rpi_defconfig
* Update tinker_defconfig
* Update enter.sh
* Update .travis.yml
2018-11-30 16:22:04 +01:00
Ryan Bray
960e11dc4f
Uboot bootstate ( #215 )
...
* Uboot: cleaning up bootstate env import/export.
* Tinker: Add potential eMMC boot support.
2018-10-26 11:36:29 +02:00
Pascal Vizeli
1112a10509
Raspberry: Fix power options
2018-09-24 16:30:04 +02:00
Pascal Vizeli
075799aaa8
Raspberrypi: Performance on Raspberry Pi due to governor ( #193 )
...
* Raspberrypi: Performance on Raspberry Pi due to governor
* Update rpi0_w_defconfig
* Update rpi2_defconfig
* Update rpi3_defconfig
* Update rpi_defconfig
* Update rpi3_64_defconfig
2018-09-10 12:22:52 +02:00
Pascal Vizeli
e7e2dc2aad
Raspberry: fix path for config.txt
2018-08-25 22:37:47 +00:00
Pascal Vizeli
1ead97f64a
raspberry: Use new config.txt ( #174 )
2018-08-25 22:40:17 +02:00
Pascal Vizeli
9441f6b16e
Fix uboot
2018-08-24 23:05:05 +00:00
Pascal Vizeli
ebf84216e9
cleanup
2018-08-24 22:46:03 +00:00
Pascal Vizeli
74ff13e25e
P1
2018-08-24 21:50:29 +00:00
Pascal Vizeli
9b170812d6
Cleanup odroid
2018-08-22 22:15:08 +00:00
Pascal Vizeli
12b5731e20
os: fix u-boot env size ( #153 )
...
* os: fix u-boot env size
* Delete fw_env.config
2018-08-08 12:48:07 +02:00
Pascal Vizeli
9ef96373a9
Update buildroot 2018.05.1 / u-boot ( #150 )
...
* Update buildroot 2018.05.1 / u-boot
* Cleanup
* Fix bl
2018-08-07 16:45:12 +02:00
Pascal Vizeli
fbb45e1544
tinker: Initial support ( #140 )
...
* tinker: initial support
* Fix info
* Fix uboot defconfig
* Split kernel config
* Fix name
* Add post-image
* Init different boot
* Add SPL images
* Dynamic rauc config
* Support SPL for OTA
* Fix expand script style
* Fix SPL
* Bump build u-boot
* Cleanup
* Add cmd for scritps
* Use kernel from armbian
* Fix u-boot
* Add bluetooth support
* Fix bt
* Fix env
* Change uart debug like rpi
* move config
2018-08-03 13:21:55 +02:00
Pascal Vizeli
75cd510283
Fix prevent device tree on rpi ( #107 )
...
* Fix prevent device tree
* Update uboot-boot.sh
* Update rauc-hook
* Update rauc-hook
2018-07-15 21:40:28 +02:00
Pascal Vizeli
0671e3f71c
Reset if we can't boot ( #83 )
...
* Update uboot-boot.sh
* Update uboot-boot.sh
2018-07-06 19:08:52 +02:00
Pascal Vizeli
8792d37402
Fix docker warning on rpi ( #67 )
2018-07-02 21:43:33 +02:00
Pascal Vizeli
80079930c5
Include ota script into board image ( #42 )
2018-06-26 13:28:00 +02:00
Pascal Vizeli
3e8499ecbf
Use correct cert ( #35 )
...
* Use correct cert
* Fix boot partition handling
* Cleanup rauc handling
* Make a reboot
* handling
2018-06-24 23:41:04 +02:00
Pascal Vizeli
17ca2ccf0a
Create OTA updater ( #34 )
...
* Create OTA updater
* Create .gitignore
* Update build-all.sh
* Update hdd-image.sh
* Update ota.sh
* Update ota.sh
* Update ota.sh
* Update ota.sh
* Update post-image.sh
* Create name.sh
* Update name.sh
* Update post-build.sh
* Update name.sh
* Update post-image.sh
* Update ota.sh
* Update hdd-image.sh
* Update post-image.sh
* Update name.sh
* Update ota.sh
* Update post-image.sh
* Update hdd-image.sh
* Update hdd-image.sh
* Update hdd-image.sh
* Update post-image.sh
* Update post-image.sh
* Update hdd-image.sh
* Update hdd-image.sh
* Update post-image.sh
* Update post-image.sh
* Update post-image.sh
* Update info
* Update info
* Update info
* Update info
* Update info
* Update info
* Rename buildroot-external/board/raspberrypi/uboot-boot64.sh to buildroot-external/board/raspberrypi/rpi3-64/uboot-boot.sh
* Update rpi3_64_defconfig
* Update hdd-image.sh
* Update ota.sh
* Update post-image.sh
* Update post-image.sh
* Fix building
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
* Fix building v2
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-24 00:11:54 +02:00
Pascal Vizeli
2abbbbd1fa
Cleanup uboot handling like linux kernel
2018-06-20 10:41:45 +00:00
Pascal Vizeli
fc4de4f02a
Fix 64bit
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-14 00:13:35 +00:00
Pascal Vizeli
73ac253a0f
Fix bug with RPi3 SDHCI
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-12 20:53:05 +00:00
Pascal Vizeli
dd3935a786
Fix pi problem
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-12 18:03:03 +00:00
Pascal Vizeli
fa79721f3d
Fix boot problems with RPi 3+
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-12 15:00:38 +00:00
Pascal Vizeli
63453e0a3f
Add 64bit flag to config for rpi
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-11 15:51:06 +00:00
Pascal Vizeli
76a4376a96
Use uboot raw env
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-11 12:46:09 +00:00
Pascal Vizeli
acd76288de
Fix speel
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-11 11:34:31 +00:00