hyphop / miZy

miZy - tiny fast embedded linux
https://hyphop.github.io/mizy/
107 stars 12 forks source link

HowTo Bluetooth #18

Closed jgeisler0303 closed 5 years ago

jgeisler0303 commented 5 years ago

Hi, is there any way I can add bluetooth to an image?

hyphop commented 5 years ago

sure its possible )

вс, 28 июл. 2019 г. в 23:02, Jens Geisler notifications@github.com:

Hi, is there any way I can add bluetooth to an image?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hyphop/miZy/issues/18?email_source=notifications&email_token=AEID44JQ7G66VEMSDUTPYHDQBX3PHA5CNFSM4IHNJ4O2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HB5J7RQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AEID44OOCWGT62HCUQQOER3QBX3PHANCNFSM4IHNJ4OQ .

jgeisler0303 commented 5 years ago

I managed to get i running with automatic pairing via bluez-tools bt-agent tool. I will soon write a summary for everybody interested about what I did. I have now an image that can play audio via mpd, snapcast, bluetooth and usb. I call it AudioBeast and it runs in my active speakers. Thanks so much for this great foundation that made it possible, especially the fast boot time, ro file system and working wifi. I did try the option to boot from spi flash but that double the boot time, so I left the sd card in.

hyphop commented 5 years ago

tnx for good news ! you can provide this for free usage !

yes spi not so fast like sd! i think u khow we can boot from sd and remove it after, also we can use sd card for user storages just make proper partition offset for example 32784 if image size is 16M

master@peace:~$ echo $((2049*16*512))
16785408
master@peace:~$ echo $((2049*16))
32784

ok wellcome ! close it