GitHub/LineageOS/G12/android_device_radxa_radxa0.git
16 months agoradxa0: Fix aml_upgrade lineage-18.1
Bruno Martins [Thu, 6 Jul 2023 13:41:03 +0000 (14:41 +0100)]
radxa0: Fix aml_upgrade

There is a dependency on logo.img, so make sure to explicitely build it.

Change-Id: Ie918142bf4472ab4e43a43a9fb9aaa9bda7c8728
(cherry picked from commit 0680b7ae6a75c9fd7a5e5f064f84e094b2b60e40)

2 years agoradxa0: set fingerprint to a whitelisted one
Jan Altensen [Mon, 12 Jul 2021 19:45:04 +0000 (21:45 +0200)]
radxa0: set fingerprint to a whitelisted one

 * ATV SUW whitelists fingerprints/descriptions.

Change-Id: Ied0cf87769be2a92f356bf24aecea422d62ff9f8

3 years agoradxa0: Use correct DHD version
Jan Altensen [Tue, 14 Sep 2021 12:33:00 +0000 (14:33 +0200)]
radxa0: Use correct DHD version

Change-Id: I422621cdeb58aa53c7fd4775ebf36d70163674cb

3 years agoradxa0: include broadcom firmware makefile
Jan Altensen [Thu, 16 Sep 2021 08:30:07 +0000 (10:30 +0200)]
radxa0: include broadcom firmware makefile

Change-Id: I491f42dd0464aaa7aa92b77fdd2375c0666a4c5b

3 years agoradxa0: fix factory image creation
Jan Altensen [Thu, 16 Sep 2021 19:56:35 +0000 (21:56 +0200)]
radxa0: fix factory image creation

 * if the source and $OUT are on different drives hardlinking fails, copy instead
 * fix bootloader path while at it

Change-Id: I425a7c4bb0fe7e2408abcda8d0993320416c015f

3 years agoradxa0: factory: also search in vendor/firmware for the bootloader
Jan Altensen [Sun, 1 Aug 2021 22:03:28 +0000 (00:03 +0200)]
radxa0: factory: also search in vendor/firmware for the bootloader

Change-Id: I99ae1d625565e66ccdcaeeaf58fff74e0963086c

3 years agoradxa0: factory: do not verify partitions
Jan Altensen [Tue, 6 Jul 2021 20:31:19 +0000 (22:31 +0200)]
radxa0: factory: do not verify partitions

 * since we can only generate V1 upgrade packages we can not do partition verification as the usb burning tool requires sha1sums which are only included in the V2 upgrade packages

Change-Id: Icfa928622003d4a9787d27adcff2ef68cf32ab55

3 years agoradxa0: add aml_upgrade build target
Jan Altensen [Sat, 3 Jul 2021 00:50:53 +0000 (02:50 +0200)]
radxa0: add aml_upgrade build target

 * will be neded for initial flashing

Change-Id: Ife02f48a7b07421079470e06c05d459556b68930

3 years agoradxa0: specify that we have no TEE
Jan Altensen [Fri, 2 Jul 2021 08:13:38 +0000 (10:13 +0200)]
radxa0: specify that we have no TEE

Change-Id: I56420abca95e4c6df1bbab69febaf0cefcde1a79

3 years agoradxa0: Decommonize init.amlogic.wifi_buildin.rc
Nolen Johnson [Thu, 1 Jul 2021 21:11:57 +0000 (17:11 -0400)]
radxa0: Decommonize init.amlogic.wifi_buildin.rc

* Only deadpool/wade/sabrina have Broadcom Wi-Fi/Bluetooth,
  dopinder/beast have Realtek, and will need different modules
  and node permissions changed.

Change-Id: I204e5c22a1dc306c9c932a3634f5e6534a438ee5

3 years agoradxa0: Configure Broadcom Bluetooth/Wi-Fi HALs
Nolen Johnson [Fri, 25 Jun 2021 05:05:35 +0000 (01:05 -0400)]
radxa0: Configure Broadcom Bluetooth/Wi-Fi HALs

* We're not unifying things, and the stock MultiHAL requires
  framework side magic, so we're going with the hardware/broadcom
  solution.

* Set Bluetooth overlays based on stock.

* bdroid_buildcfg header and vnd_$device.txt configuration are
  loosely taken from OEM uploads of Amlogic BCM Wi-Fi/BT device
  sources.

Change-Id: Ie8e0f2d2a5f1cb8337ebe88b903fb18a71602f18

3 years agoradxa0: Build Broadcom DHD module inline
Aaron Kling [Fri, 25 Jun 2021 05:04:25 +0000 (01:04 -0400)]
radxa0: Build Broadcom DHD module inline

Change-Id: I042931d6361420868f53f682c70fee8c5a2b589d

3 years agoradxa0: Build device specific DTB
Stricted [Fri, 25 Jun 2021 05:24:03 +0000 (01:24 -0400)]
radxa0: Build device specific DTB

Change-Id: I882a5f2481802cabe28204ee9c65905d1a80f984

3 years agoradxa0: Initial Commit
Nolen Johnson [Thu, 17 Jun 2021 04:43:04 +0000 (00:43 -0400)]
radxa0: Initial Commit

Change-Id: I5bbc92935d81897929edf3daefb27a9e09691f60