norayr | missMyN900: yeah your droid3 looks good. but right now a little bit expensive for me. | 00:01 |
---|---|---|
missMyN900 | norayr: actually it is a Bionic ;) | 00:02 |
norayr | and btw what i don't like (though i believe the seller) is that there are just generic photos of the device. not the photos of that exact device. | 00:02 |
norayr | oh. | 00:02 |
missMyN900 | better support but no hardware keyboard | 00:02 |
missMyN900 | 1 GB also though | 00:02 |
dreamer | norayr: I did not? | 00:02 |
missMyN900 | similar to D4 basically | 00:02 |
norayr | wait let me look at it again. | 00:02 |
dreamer | norayr: you said something about using modified GPL code in your company and then not needing to release those changes. that goes against the GPL | 00:02 |
norayr | dreamer: i lost all our threads, sorry. i am so tired now. i was trying to concentrate on packaging something, but i also have two jobs and my brain | 00:02 |
norayr | doesn't work now. | 00:03 |
dreamer | ok, sure. I won't continue the conversation :) | 00:03 |
missMyN900 | dreamer: no, it doesn't | 00:03 |
missMyN900 | only the company distributes the software | 00:03 |
missMyN900 | *if | 00:03 |
norayr | dreamer: so if it goes against gpl, i am glad. but i knew it differently for some reason. | 00:03 |
missMyN900 | as long as you do not distribute but only use it internally/for personal use there is no issue | 00:04 |
norayr | missMyN900: i knew it like that too. | 00:04 |
dreamer | missMyN900: well that's what I said earlier too. but if you use it to run your company. it's not exactly "personal use" | 00:05 |
missMyN900 | I also said internally :) | 00:05 |
norayr | ok will try to install leste on droid3. | 00:05 |
missMyN900 | as long as you do not distribute it | 00:05 |
dreamer | I don't see how the GPL allows that | 00:06 |
dreamer | there are different interpretations of "distribute" | 00:06 |
dreamer | simply installing it on a remote machine can be considered "distributing" :) | 00:06 |
missMyN900 | if the company modifies it, they do not have to open source their changes | 00:06 |
missMyN900 | the company is one entity | 00:06 |
missMyN900 | the individual employees are working for the company | 00:07 |
missMyN900 | the IP they create at work is property of the company | 00:07 |
dreamer | ok, relevant part: https://www.gnu.org/licenses/gpl-faq.en.html#GPLRequireSourcePostedPublic | 00:07 |
dreamer | and you are right | 00:07 |
dreamer | just using it (say you make patch to the code so it works on a specific system) is fine | 00:07 |
missMyN900 | if they want to distribute to customers then there is a problem | 00:08 |
dreamer | yeah | 00:08 |
dreamer | and if unmodified but you statically bind it to your own code. then your code gets "infected" with GPL too | 00:08 |
missMyN900 | but if you want to run some hacked GPL licensed server software for internal use, you can do that | 00:08 |
dreamer | which is why a lot of companies don't like GPL :# | 00:09 |
dreamer | we had a lot of internal discussions in our company in which way we could still use GPL licensed code | 00:09 |
dreamer | we don't exactly distribute anything. except for frontend code. but that's in the browser anyway so technically the code is already available :P | 00:09 |
dreamer | but actually the FE is only comprised of bsd/mit/apache based libs in the end | 00:10 |
missMyN900 | anyway, it is time for me to try to install Devuan Beowulf on the Atom tablet :) | 00:10 |
missMyN900 | and then hopefully ML/Hildon | 00:11 |
dreamer | hmm. I still have an atom netbook that can't really run much of anything these dayss | 00:12 |
missMyN900 | install Alpine like I did on my dual core Richland laptop :) | 00:14 |
missMyN900 | I am running fluxbox on it | 00:14 |
missMyN900 | use w3m for limited web browsing (Netsurf is in edge/testing so eventually I will use that) | 00:15 |
missMyN900 | Alpine 3.16 is easier to install for desktop use than earlier versions | 00:16 |
missMyN900 | icewm is in edge/testing as well so eventually I will switch to that as I also use it on my desktop | 00:17 |
dreamer | fluxbox <3 | 00:17 |
missMyN900 | or you could build a pmOS image for it ;) | 00:18 |
dreamer | has been my main WM for nearly 15 years now .. | 00:18 |
missMyN900 | I am only using it since it was available on Alpine tbh | 00:18 |
missMyN900 | I could not get JWM to work | 00:18 |
dreamer | it has all the features I expect from a WM | 00:18 |
dreamer | also, dockapps <3 | 00:18 |
missMyN900 | I have used spectrwm in recent past as well | 00:18 |
missMyN900 | but it is also not available in the Alpine repos | 00:19 |
norayr | what is pushd? some android tool mentioned here https://leste.maemo.org/Motorola_Droid_4#Setting_up_kexecboot | 00:19 |
norayr | i don't remember how did i setup droid4 | 00:19 |
norayr | i think i never had pushd, but i had adb | 00:19 |
missMyN900 | https://www.howtogeek.com/659146/how-to-use-pushd-and-popd-on-linux/ | 00:20 |
missMyN900 | I thought it looked like a stack | 00:20 |
norayr | ah i undersand, that's a shell thing. thank you | 00:20 |
missMyN900 | https://en.wikipedia.org/wiki/Pushd_and_popd | 00:20 |
missMyN900 | I wrote a stack machine in F# years ago | 00:21 |
norayr | so the question is if i do that kind of flashing with the locked device | 00:23 |
norayr | will it erase the lock? | 00:23 |
missMyN900 | what kind of lock? | 00:23 |
missMyN900 | PIN code is related to the SIM | 00:24 |
norayr | i don't know. that seller on ebay sells droid3 without a battery and they said the phone has lock. probably user locked the device. | 00:24 |
missMyN900 | could also be carrier locked | 00:24 |
norayr | with operating system login pin. | 00:24 |
norayr | wait | 00:24 |
missMyN900 | I think flashing it would remove that | 00:24 |
norayr | https://www.ebay.com/itm/324651319779?epid=108653735&hash=item4b96ba01e3:g:WwsAAOSwCYZgs~yC | 00:25 |
norayr | how would you understand that? | 00:25 |
missMyN900 | there is no FDE with those old Android versions | 00:25 |
missMyN900 | "Phone may have more or less issues than what are listed in the item condition" | 00:26 |
missMyN900 | I wouldn't buy it | 00:26 |
missMyN900 | especially considering how much shipping it will cost you | 00:26 |
norayr | eh | 00:26 |
missMyN900 | for me it is only $4.45 shipping | 00:27 |
missMyN900 | but it would probably be $20-30 for you | 00:27 |
missMyN900 | if not more | 00:27 |
missMyN900 | this is why I prefer DB | 00:27 |
missMyN900 | there are some DBs in good condition available | 00:27 |
missMyN900 | instead of having to buy these sketchy devices | 00:27 |
missMyN900 | hardware keyboard is nice but I have learned to live without it | 00:28 |
norayr | oh no. i ship it for $4. but then i have a postal forwarder that forwards it from usa to armenia. | 00:28 |
norayr | and i pay per kilogramm. | 00:28 |
missMyN900 | how much does that cost? | 00:28 |
norayr | $8 per kg. | 00:28 |
missMyN900 | oh | 00:28 |
missMyN900 | still, I would not do it | 00:28 |
missMyN900 | shipping is more than the phone itself | 00:28 |
norayr | i can ask them to ship directly, but i'll wait for years maybe. | 00:28 |
norayr | yes. and battery often. | 00:29 |
norayr | (: | 00:29 |
missMyN900 | unless, you really, really hate software keyboards, I would get a DB instead | 00:29 |
missMyN900 | as you already have D4 | 00:29 |
missMyN900 | if you can find an ASUS T100TA cheaply locally (or in a nearby country) you could consider that too | 00:31 |
norayr | droid4 install manual says | 00:31 |
missMyN900 | apparently it runs Linux well so you could have an ML tablet | 00:31 |
norayr | sudo fastboot flash utags utags-mmcblk1p13.bin | 00:31 |
norayr | not sure if it is necessary with droid3. because droid3 download didn't list it. | 00:31 |
norayr | hm. | 00:31 |
missMyN900 | probably not then | 00:31 |
missMyN900 | the partition layout is different very often with Android devices AFAIK | 00:32 |
missMyN900 | even with Sony Xperias from a pretty small time range | 00:32 |
missMyN900 | I really am going to work on the Atom now though :) | 00:33 |
missMyN900 | see you later | 00:34 |
norayr | good luck | 00:37 |
norayr | uvos, Wizzup, should i use | 00:38 |
norayr | sudo fastboot flash utags utags-mmcblk1p13.bin | 00:38 |
norayr | on droid3? | 00:38 |
missMyN900 | this Atom tablet is very interesting | 02:20 |
missMyN900 | I am not sure the audio will work because it came with a 3.5 mm power adapter and I plugged it in thinking it was the OEM adapter... | 02:20 |
missMyN900 | but turns out it just charges like a regular Android phone/tablet with micro USB... | 02:20 |
missMyN900 | at least it was only 3.6V. Maybe the Realtek audio chip has some protection against that. Idk | 02:21 |
missMyN900 | after many tries I was able to access the UEFI by pressing esc | 02:21 |
missMyN900 | it has Insyde H20 UEFI/BIOS; there are *a lot* of options. It is amazing. | 02:22 |
missMyN900 | you can even change the power limit of the SoC | 02:22 |
missMyN900 | it even shows the full specification/component list right there in the UEFI! | 02:23 |
missMyN900 | it has an earlier version of the WiFi chip that is in the PP | 02:23 |
missMyN900 | RTL8723BS (PP is CS) | 02:23 |
missMyN900 | so it will probably need an out-of-tree driver | 02:23 |
norayr | missMyN900: are you trying to build maemo image? or pmos? | 02:24 |
missMyN900 | norayr: I was able to "boot" Devuan Beowulf | 02:24 |
norayr | oh cool | 02:24 |
missMyN900 | but it shut down because it ran out of power | 02:24 |
norayr | and i maybe bricked droid3 | 02:24 |
norayr | meanwhile | 02:24 |
missMyN900 | you can access the "boot manager" when you press esc | 02:24 |
missMyN900 | and select the USB drive | 02:25 |
norayr | i think it boots to something like android 2 now. and i cannot even use it under that thing. | 02:25 |
missMyN900 | I am using a microUSB OTG adapter that I bought for another tablet years ago | 02:25 |
missMyN900 | so I cannot charge it at the same time | 02:25 |
missMyN900 | I think this is a very good dev device | 02:26 |
missMyN900 | I will provide the full specs tomorrow | 02:26 |
missMyN900 | it has been confirmed to have an Atom Z3735G, by the way | 02:26 |
missMyN900 | norayr: oh I forgot, I have some virtual gifts for you | 02:27 |
missMyN900 | I was browsing eBay while eating earlier | 02:27 |
missMyN900 | norayr: this could be good for your friends: https://www.ebay.com/itm/194532230758 | 02:27 |
missMyN900 | 3 DBs like new for $82 | 02:28 |
missMyN900 | and free shipping to your freight forwarder | 02:28 |
missMyN900 | should be less than 1 kg in total so would only be $8 shipping then | 02:28 |
missMyN900 | so $90 total | 02:28 |
missMyN900 | so basically $30 per DB and they come accessories (and box even)! | 02:28 |
missMyN900 | norayr: and I found something else for you too: https://www.ebay.com/itm/394098479870 | 02:30 |
missMyN900 | it is a high quality after market battery for the D3! | 02:30 |
missMyN900 | ships from Germany; Milestone III = European Droid 3 | 02:30 |
missMyN900 | https://www.gsmarena.com/motorola_milestone_3_xt860-4349.php | 02:31 |
missMyN900 | https://en.wikipedia.org/wiki/Droid_3 | 02:33 |
missMyN900 | I was searching for an aftermarket DB battery | 02:34 |
missMyN900 | from PolarCell and then I saw the Milestone III one | 02:34 |
missMyN900 | I did find this: https://www.ebay.com/itm/362621634385 should work in the DB | 02:35 |
missMyN900 | but it is expensive :( | 02:35 |
missMyN900 | https://github.com/anthonywong/rtl8723bs "Since Linux 4.12, rtl8723bs has been merged. Therefore, this repo is now obsolete." RTL8723BS driver has been mainlined already :D | 02:36 |
missMyN900 | https://www.realtek.com/en/press-room/news-releases/item/realtek-s-hi-fi-audio-single-chip-with-voice-sound-dsp-and-codec-alc5642-receives-innovative-product-award-2012 <-- audio chip in the 8.9" Ematic Atom tablet | 02:38 |
missMyN900 | it is not an HDA/Azalia chip | 02:38 |
missMyN900 | those probably are too expensive/use too much power for a small, cheap tablet | 02:38 |
missMyN900 | https://bugzilla.kernel.org/show_bug.cgi?id=98001 <-- apparently it is supported! (also used in MS Surface 3) | 02:39 |
missMyN900 | according to the Atom data sheet from Intel it uses a "Low Power Engine" (built around I2S) for audio | 02:51 |
missMyN900 | seems similar to what ARM SBCs and phones/tablets use | 02:51 |
missMyN900 | https://www.ebay.com/itm/114944440018 found one on eBay | 02:53 |
missMyN900 | hmm seems like the Surface 3 itself runs Linux pretty well too, although it is a bit larger (10.8"). May be a bit larger for a ML tablet, I don't know | 03:02 |
missMyN900 | *large | 03:02 |
norayr | i will need help installing maemo-leste on droid3, people, when you come. | 04:41 |
norayr | btw, for now i can tell: | 04:41 |
norayr | i ported live-wallpaper | 04:42 |
norayr | and shermans aquarium | 04:42 |
norayr | https://xn--y9azesw6bu.xn--y9a3aq/media/uploads/2022/06/25/51cdf9e3-66ec-4d6c-b809-52fd8d3f27c0.png | 05:08 |
norayr | https://xn--y9azesw6bu.xn--y9a3aq/media/uploads/2022/06/25/2acd0221-85d0-47bc-ad37-aeb3d289b3ff.png | 05:08 |
norayr | https://xn--y9azesw6bu.xn--y9a3aq/media/uploads/2022/06/25/0584021d-504f-4a4f-a70f-7e2ededd80ca.png | 05:08 |
norayr | https://xn--y9azesw6bu.xn--y9a3aq/media/uploads/2022/06/25/a298c46b-863f-4c12-940e-5c4828c06ec0.png | 05:09 |
norayr | Wizzup: i will gonna need two more repos from you. | 05:09 |
norayr | https://spyurk.am:5281/upload/TsfFYKRx16ooOJHp/20220625_071149_ad6d_komp.mp4 | 05:14 |
buZz | eh ok, did i do something wrong on building kernel? | 08:38 |
buZz | git cloned, got the right branch | 08:38 |
buZz | grabbed /proc/config.gz, gunzip, mv config .config, make oldconfig | 08:38 |
buZz | yet, on booting the build, screen remains black, no sign of life (chargeled doesnt turn on either) | 08:39 |
buZz | oh, make modules/modules_install perhaps? | 08:40 |
* buZz tries | 08:40 | |
Wizzup | norayr: cute | 08:50 |
buZz | in drivers/....pvrsgx/ , maybe we dont need to build -all- versions? | 08:50 |
Wizzup | buZz: what are you tryin to do? | 08:51 |
buZz | just rebuild d4 kernel | 08:51 |
Wizzup | norayr: I can try to help with the d3 today or tomorro | 08:51 |
buZz | Wizzup: i still need to test, but i think my mods on a EB41 battery should get me 10-20% more batterylife | 08:54 |
buZz | kernelmods* | 08:54 |
buZz | ah, might have just been missing the modules | 09:06 |
buZz | Linux devuan-droid4 5.15.2-g0fe205dd861a-dirty #3 SMP PREEMPT Fri Jun 24 03:39:53 CEST 2022 armv7l GNU/Linux | 09:15 |
buZz | w00t | 09:15 |
buZz | :) now to recalibrate this '1180 mAh' tested EB41 battery | 09:15 |
buZz | ehhh shouldnt power_supply/usb and power_supply/battery agree about charging voltage? | 13:18 |
buZz | it seems the /usb one sticks to 4.2v and not the HV charge voltage i set in /battery | 13:19 |
buZz | and cant see where thats set at all ... oo , let me check devicetree | 13:19 |
buZz | hmmf, cant find where its from .. tempted to just replace all 4200000 with 4350000 | 13:28 |
buZz | line 938 on cpcap_charger.c seems to override what cpcap_battery.c sets, perhaps | 13:36 |
* buZz tries | 13:36 | |
buZz | yez, indeed #938 | 14:09 |
* buZz charging at/to 4.35v now | 14:10 | |
rafael2k | In PP, we use Mobian 5.15 branch plus some patches ML patches we introduce, like that battery type one, for our battery changing applet work, some modules are built-in in order we can boot without initrd, a pinetab panel module, there are some differences indeed between our kernel and mobian 5.15 kernel | 14:20 |
rafael2k | and last but not least, I installed mobian here just to test, and it was running their 5.10 kernel line, not really the 5.15 as we do | 14:21 |
rafael2k | it was some time ago I tested mobian, so may be something changes already, I dunno | 14:22 |
rafael2k | I'm tempted to try mainline 5.19 to check how upstreaming is going... | 14:25 |
rafael2k | read that it might be that the cameras driver have implemented the minimal controls needed by libcamera... I'll see | 14:26 |
lel | norayr opened an issue: https://github.com/maemo-leste-extras/bugtracker/issues/29 ([REQ] live-wallpaper) | 20:46 |
lel | norayr opened an issue: https://github.com/maemo-leste-extras/bugtracker/issues/30 ([REQ] shermans aquarium) | 20:47 |
buZz | rafael2k: would be supercool to get working cam on d4 | 21:06 |
buZz | cams* | 21:06 |
rafael2k | buZz: Does it have any v4l driver working? | 21:09 |
rafael2k | with v4l in place, all the rest is much easier... I'm still struggling with the v4l drivers for proper PP cameras support | 21:09 |
rafael2k | by proper I mean - having a "one-fits-all" low level camera library, which I think libcamera is the best fit | 21:10 |
rafael2k | and not by using specific hardcoded low level user land to deal with v4l drivers poorly implemented, as it seems it is the case for PP cameras | 21:11 |
uvos | no | 21:14 |
uvos | the d4 rear camera has no working drivers and no documentation of any kind (downstream driver or datasheet) | 21:15 |
uvos | the front camera is a pretty common chip and has various downstream implementations | 21:16 |
uvos | omap4 iss also isent in mainline | 21:16 |
rafael2k | so we have at least with something to start with | 21:16 |
rafael2k | : ) | 21:16 |
uvos | but there is a driver for that floating around too | 21:16 |
uvos | rafael2k: sure, but rear camera would be pretty hard | 21:17 |
rafael2k | how does android implementation works? | 21:17 |
rafael2k | could it's kernel be used as reference/ | 21:17 |
uvos | its implemented in binary firmware on one of the omap4 m3 cores | 21:17 |
uvos | the android kernel dosent do anything with the camera at all | 21:18 |
rafael2k | ow, did not know that, that is bad | 21:18 |
rafael2k | doing some rev. engineering would be some work... | 21:18 |
uvos | right | 21:19 |
uvos | i gues you could alos just use the android firmware, but thats pretty undesirable | 21:20 |
uvos | it also dose all the image processing libcamera would do on the dsp | 21:20 |
uvos | ie debayering and color correction and so on | 21:21 |
uvos | (the m3 cores have a dsp) | 21:21 |
rafael2k | that is that libhybris or something like this, no? | 21:23 |
uvos | no | 21:23 |
uvos | the firmware runs on a different processor | 21:23 |
rafael2k | shit | 21:23 |
uvos | its not related to using libhybris | 21:23 |
uvos | the omap4 has 4 arm cores | 21:23 |
rafael2k | and so there is just an API to talk to this processor and get the frames? | 21:23 |
uvos | yes via dma | 21:24 |
rafael2k | understood | 21:24 |
uvos | the android kernel just gets the compleated image via dma | 21:24 |
uvos | the other 2 (non linux) arm cores have access to the omap interconnect | 21:24 |
uvos | like the main ones | 21:24 |
uvos | so the firmware gets to drive the omap spi and iss interfaces to talk to the cip | 21:25 |
uvos | and then just push the final frame into ram | 21:25 |
uvos | after processing it in the dsp | 21:25 |
rafael2k | hum, so there is not need for "hardware" debugging, just really software digging with the android right? | 21:25 |
uvos | if you want to use motorolas firmware sure | 21:26 |
uvos | but then you have binary firmware running | 21:26 |
uvos | that can access everything | 21:26 |
uvos | since it sits on the same bus as the cortex a9 processors linux runs on | 21:26 |
rafael2k | that is not ideal... but it seems a good starting point | 21:26 |
rafael2k | do you have this blog? I mean, could we decompile it, or debug it in runtime? | 21:28 |
rafael2k | *blob | 21:28 |
rafael2k | if it is not thaaaaat big | 21:28 |
rafael2k | it should be possible to use ida pro or something like this to have a grasp on what it does, right? | 21:29 |
bencoh | uvos: wait, the M3 handles the CSI part, or just the "ISP"/postprocessing? | 21:30 |
uvos | bencoh: m3 dose everything, essentally android just asks the fw for an image and gets a compleatly processed image back in ram | 21:36 |
uvos | well not quite | 21:37 |
bencoh | "not quite"? | 21:37 |
uvos | it has to ask for the image to post processed in a seperate step | 21:37 |
uvos | iirc the fw on the other m3 core dose this | 21:37 |
uvos | it controles the dsp | 21:38 |
uvos | (also for video decodeing etc) | 21:38 |
bencoh | so the a9 handles the mipi/csi? | 21:38 |
uvos | no | 21:39 |
bencoh | ah, I see what you mean by "not quite" | 21:39 |
bencoh | okay | 21:39 |
bencoh | well then maybe the beagleboard/pandaboard projects would be more helpful than android here | 21:39 |
buZz | i wouldnt mind a blob on m3 if we can use open shit behind it | 22:07 |
buZz | like baseband | 22:07 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!