warpme / minimyth2

Distro to make disk-less MythTV appliance
https://github.com/warpme/minimyth2/wiki
75 stars 21 forks source link

kernel: enable mmc1,uart1 for WiFi and BT, and eMMC mmc2 on H616 Tanix-TX6s #6

Closed heitbaum closed 3 years ago

heitbaum commented 3 years ago

Remove configuration for led-1 and spi0 which are not used on the TX6s and conflict with GPIOs. Also Comment PC16 out, which is used by mmc2.

The wifi and bluetooth are not yet active (should be considered draft.)

But mmc2 is active:

root@tx6s:~ # dmesg | grep mmc
[    5.277314] vcc-eth-mmc: supplied by vcc-5v
[    5.383068] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    5.409362] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[    5.474933] mmc1: host does not support reading read-only switch, assuming write-enable
[    5.490234] mmc1: new high speed SDHC card at address aaaa
[    5.501443] mmcblk1: mmc1:aaaa SC32G 29.7 GiB
[    5.517720]  mmcblk1: p1 p2
[    5.627579] mmc2: new DDR MMC card at address 0001
[    5.634307] mmcblk2: mmc2:0001 SCA64G 57.7 GiB
[    5.639787] mmcblk2boot0: mmc2:0001 SCA64G partition 1 4.00 MiB
[    5.646603] mmcblk2boot1: mmc2:0001 SCA64G partition 2 4.00 MiB
[    5.657183]  mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17
[    6.614565] EXT4-fs (mmcblk1p2): recovery complete
[    6.622398] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[   25.980561] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    8.805001] Bluetooth: Core ver 2.22
[    8.830302] Bluetooth: HCI device and connection manager initialized
[    8.837052] Bluetooth: HCI socket layer initialized
[    8.842544] Bluetooth: L2CAP socket layer initialized
[    8.848457] Bluetooth: SCO socket layer initialized
[    8.922847] Bluetooth: HCI UART driver ver 2.3
[    8.927542] Bluetooth: HCI UART protocol H4 registered
[    8.932799] Bluetooth: HCI UART protocol BCSP registered
[    8.938524] Bluetooth: HCI UART protocol LL registered
[    8.945733] Bluetooth: HCI UART protocol ATH3K registered
[    8.958923] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    8.967250] Bluetooth: HCI UART protocol Intel registered
[    8.981509] Bluetooth: HCI UART protocol Broadcom registered
[    8.987573] Bluetooth: HCI UART protocol QCA registered
[    9.000106] Bluetooth: HCI UART protocol Marvell registered
warpme commented 3 years ago

Rudi, Many thx!

btw: for your convenience - GAR build system we are using has rule for updating makesums for sources. Update is required when there is any change in source code (sources archive and/or patches). To update checksums, you can simply:

cd package top dir
make makesums[makesums-all]

makesums generates checksums for all files used for current compilation. makesums-all is required when change in sources is in files not used by current target but for other targets (i.e. you are building kernel for aarch64, but change is for kernel config for x86_64 target)