*** buZz has joined #maemo | 00:09 | |
*** buZz is now known as Guest13548 | 00:10 | |
*** Guest13548 is now known as buZz | 00:11 | |
*** buZz has quit IRC | 00:13 | |
Sicelo | well ... Zungo was right about Windows .. i connected it to a machine in the office (but i have no admin permissions on it, so can't install Odin) | 00:17 |
---|---|---|
Zungo | Odin is not something you install sicelo | 00:17 |
Sicelo | but this windows thing is making me wonder if i want to go ahead with this ROM business | 00:17 |
Zungo | its just an app | 00:18 |
Sicelo | mmm | 00:18 |
Zungo | you'd also want to have a stock rom too | 00:18 |
Zungo | in case of problems | 00:18 |
Zungo | or giving away | 00:18 |
Sicelo | and windows | 00:18 |
Zungo | restoring stock also resets the tamper flag | 00:18 |
Sicelo | that's the hard part | 00:19 |
Zungo | yeah, heimdal is beta | 00:19 |
Zungo | you need admin for devices communication also | 00:19 |
Zungo | one more thing | 00:19 |
Sicelo | still doesn't explain why the phone is not detected on linux ... | 00:19 |
Zungo | check your usb filter | 00:19 |
Zungo | that might | 00:19 |
Zungo | tried another computer with linux? | 00:20 |
Sicelo | i think i'll remain on stock. the samsung's job is whatsapp only anyway | 00:20 |
Sicelo | Zungo: yes, pc and laptop | 00:20 |
Zungo | touchwiz sucks | 00:20 |
Zungo | you maybe want to use odin once to root it | 00:20 |
Zungo | and remove knox | 00:20 |
Zungo | and bloat | 00:20 |
Sicelo | you say odin doesn't need install? | 00:20 |
Zungo | its a leaked app | 00:21 |
Zungo | simple | 00:21 |
Sicelo | and what's a leaked app? | 00:21 |
Zungo | but it does require admin privileges because of driver interaction | 00:21 |
Zungo | Odin is leaked software | 00:21 |
*** buZz has joined #maemo | 00:21 | |
Zungo | it's a internal samsung tool | 00:21 |
Sicelo | so yes .. i can't run it on the windows machine i tested on | 00:21 |
*** buZz is now known as Guest76292 | 00:22 | |
*** Guest76292 is now known as buZz | 00:22 | |
DocScrutinizer05 | Sicelo: settings developer options "allow kernel unlock" or somesuch, maybe? | 00:22 |
Zungo | DocScrutinizer05: that's only on 6.0 onwards or something | 00:23 |
Zungo | and he tried a windows machine which worked | 00:23 |
DocScrutinizer05 | yep, possible | 00:23 |
Zungo | samsung S4 gets no more updates | 00:23 |
Zungo | latest stock rom is 5.0.1 | 00:23 |
Zungo | based on* | 00:23 |
DocScrutinizer05 | meh, spare me from android shit | 00:23 |
Sicelo | well device manager showed it in windows. no idea if it would have worked, although i guess it would have | 00:24 |
Zungo | and the option is called allow oem unlock | 00:24 |
DocScrutinizer05 | my evaluation device refused adb, until I reset-factory | 00:24 |
Zungo | sicelo it worked probably worked | 00:24 |
DocScrutinizer05 | some dunnowhich rogue-fuckapp messed it up | 00:24 |
Zungo | DocScrutinizer05: something happened or the usb development setting got disabled | 00:24 |
Zungo | usb development is not enabled by default | 00:25 |
Sicelo | and people still say android is linux ... :-/ | 00:25 |
Zungo | also adbd is not always running | 00:25 |
DocScrutinizer05 | no, been enabled. I checked everything 5 times with experts doublechecking | 00:25 |
Zungo | and re-enabling it? | 00:25 |
Zungo | rooted? | 00:25 |
DocScrutinizer05 | believe me, it been fucked up | 00:25 |
Zungo | well certainly that's a odd issue | 00:26 |
DocScrutinizer05 | this shit device is absolutely un-rootable (so far) | 00:26 |
Sicelo | what device was it DocScrutinizer05? | 00:26 |
DocScrutinizer05 | Cat S60 | 00:26 |
*** auenf has quit IRC | 00:27 | |
*** auenf has joined #maemo | 00:27 | |
Sicelo | Zungo: i will try someone tomorrow who's got a Windows computer. if not, i'll have to get one of the admins at work on monday to let me install :p | 00:28 |
Zungo | sicelo: it's not installable, you need admin privileges to do the flashing | 00:28 |
Sicelo | yes, that | 00:28 |
Zungo | it's not a program you install | 00:28 |
Zungo | ah ok | 00:28 |
Zungo | so get all the files ready | 00:29 |
Sicelo | yes i have everything (as far as i understand) .. | 00:29 |
Sicelo | i have twrp, and the ROM i want to install. | 00:29 |
Sicelo | GearCM 13 seems to be the best thing out there for the Exynos S4. you can let me know if there's better | 00:30 |
Zungo | once you flash recovery you're done with odin, make sure to delete /system/etc/install-recovery.sh | 00:30 |
Zungo | Interesting | 00:30 |
Zungo | i should check that out | 00:30 |
Zungo | or maybe not, i left the phone stock and i gave it away | 00:31 |
Zungo | its still around but now i have a nexus 5x | 00:31 |
Sicelo | Zungo: don't i need it to also flash the ROM? | 00:31 |
Sicelo | (odin) | 00:31 |
Zungo | odin only does tar files | 00:32 |
Zungo | tar files containing .imgs with the partition names | 00:32 |
Zungo | for zips you use recovery | 00:32 |
Sicelo | so wait - the TWRP i have is .img :-/ | 00:32 |
Sicelo | should i tar it up? | 00:33 |
Zungo | rename it recovery.img and tar it | 00:33 |
Zungo | that should work | 00:33 |
Zungo | isnt there a tar version on the website? | 00:33 |
*** buZz has quit IRC | 00:33 | |
*** buZz has joined #maemo | 00:33 | |
Zungo | the samsung tars are a bit odd, 7-zip reports wrong eol | 00:33 |
Zungo | bad eol* | 00:34 |
Zungo | unexpected eol** | 00:34 |
Sicelo | https://www.androidfilehost.com/?fid=673368273298920000 | 00:34 |
Sicelo | um .. wrong link | 00:34 |
Sicelo | https://dl.twrp.me/i9500/twrp-2.8.7.0-i9500.img.html | 00:34 |
Sicelo | no tar there | 00:34 |
Zungo | go up a directory | 00:35 |
*** buZz has quit IRC | 00:35 | |
Zungo | sicelo, there is | 00:36 |
*** buZz has joined #maemo | 00:36 | |
Zungo | https://dl.twrp.me/i9500/ | 00:36 |
Sicelo | ok i see it. | 00:36 |
Zungo | they DO make tar versions of the recovery | 00:36 |
Zungo | ok | 00:36 |
Sicelo | thanks | 00:36 |
*** buZz has quit IRC | 00:36 | |
*** buZz has joined #maemo | 00:36 | |
Sicelo | so i flash this with odin | 00:37 |
Sicelo | next? i presume i flash my rom .. which i guess can be done in TWRP? rom file has to be on SD? file format? | 00:37 |
Sicelo | the rom i downloaded came as a zip file, https://www.androidfilehost.com/?fid=601300970940399905, which comes from https://forum.xda-developers.com/galaxy-s4/i9500-orig-develop/gearcm-optimized-cyanogenmod-12-1-t3283820 | 00:39 |
Zungo | you cant boot back to touchwiz until /system/etc/install-recovery.sh is deleted or the rom is flashed | 00:40 |
Zungo | gearcm is cm12.1, mind | 00:40 |
Zungo | not 13 | 00:40 |
Sicelo | am i able to delete that from twrp? or something else is needed? | 00:40 |
Zungo | yes, in fact twrp should tell you about it when exiting it | 00:41 |
Zungo | oh | 00:41 |
Zungo | you also need google drivers on windows for using adb in twrp | 00:41 |
Zungo | just in case | 00:41 |
Zungo | well not sure about twrp but that was the case with CM | 00:41 |
Sicelo | i for sure hope it will still at least let me use adb on linux lol. otherwise .. | 00:41 |
Sicelo | looks like the later version of gearcm is cm13 .. unless i didn't understand something | 00:42 |
DocScrutinizer05 | Sicelo: aiui all you need on linux is adb and fastboot | 01:02 |
DocScrutinizer05 | both are pretty basic and should work flalessly whe run as root | 01:03 |
Sicelo | Zungo: recommendations for what i should replace touchwiz with? | 01:10 |
Zungo | hmm | 01:11 |
Zungo | i am not sure | 01:11 |
Zungo | cm should be great choice for a pure android experience, sicelo | 01:11 |
Sicelo | cool | 01:11 |
*** ced117 has quit IRC | 01:22 | |
*** ced117 has joined #maemo | 01:31 | |
*** fuz_ has quit IRC | 02:00 | |
*** fuz_ has joined #maemo | 02:05 | |
*** dafox has joined #maemo | 02:51 | |
*** r00t-home has quit IRC | 03:14 | |
*** r00t-home has joined #maemo | 03:15 | |
*** Pali has quit IRC | 03:16 | |
*** infobot has quit IRC | 03:19 | |
*** r00t-home has quit IRC | 03:21 | |
*** r00t-home has joined #maemo | 03:22 | |
*** infobot has joined #maemo | 03:26 | |
*** spiiroin has quit IRC | 03:42 | |
*** auenfx4 has joined #maemo | 03:49 | |
*** auenf has quit IRC | 03:49 | |
*** dafox has quit IRC | 03:51 | |
*** florian_ has joined #maemo | 03:52 | |
*** florian has quit IRC | 03:55 | |
*** spiiroin has joined #maemo | 03:55 | |
*** cyphase has joined #maemo | 03:59 | |
*** florian_ has quit IRC | 04:09 | |
*** jonwil has quit IRC | 04:29 | |
*** r00t-home has quit IRC | 04:33 | |
*** madgoat has joined #maemo | 06:39 | |
*** madgoat has left #maemo | 06:41 | |
*** Kabouik has quit IRC | 06:56 | |
*** DocScrutinizer05 has quit IRC | 07:02 | |
*** DocScrutinizer05 has joined #maemo | 07:02 | |
*** chadi has quit IRC | 07:24 | |
*** chadi has joined #maemo | 07:28 | |
*** grinsekatze has quit IRC | 07:31 | |
*** RedW has quit IRC | 07:31 | |
*** grinsekatze has joined #maemo | 07:31 | |
*** RedM has joined #maemo | 07:31 | |
*** jrayhawk has quit IRC | 07:35 | |
*** jrayhawk has joined #maemo | 07:37 | |
*** DocScrutinizer05 has quit IRC | 07:58 | |
*** DocScrutinizer05 has joined #maemo | 07:58 | |
*** Pali has joined #maemo | 10:39 | |
*** ashneo76 has quit IRC | 10:39 | |
*** r00t-home has joined #maemo | 10:46 | |
*** luke-jr has quit IRC | 11:09 | |
*** florian_ has joined #maemo | 11:39 | |
freemangordon | Pali: the more I look at maemo code, the less I wonder why it was not opened in its whole :( https://github.com/community-ssu/libhildonfm/issues/1 | 12:21 |
KotCzarny | ;) | 12:22 |
freemangordon | please, somebody fix that and make a pull request, it should be easy | 12:23 |
*** shentey has joined #maemo | 12:36 | |
*** jonwil has joined #maemo | 12:46 | |
*** chadi has quit IRC | 12:59 | |
*** xy2_ has joined #maemo | 13:01 | |
*** chadi has joined #maemo | 13:04 | |
*** jonwil has quit IRC | 13:09 | |
*** florian_ is now known as florian | 13:19 | |
*** xy2_ has quit IRC | 13:50 | |
*** cyteen has joined #maemo | 13:56 | |
*** ovaltine_ has joined #maemo | 14:07 | |
ovaltine_ | hi all | 14:11 |
ovaltine_ | i have a old n900, i wanted to know what repositories are people using these days | 14:11 |
ovaltine_ | i was thinking since its been years that I have updated it, there must be some repos outdated or closed and maybe there r new ones that the community setup | 14:12 |
ovaltine_ | so let me know thanks | 14:12 |
KotCzarny | cssu most notably | 14:12 |
KotCzarny | if you missed that | 14:12 |
ovaltine_ | yes i missed | 14:12 |
KotCzarny | ćssu | 14:12 |
KotCzarny | ~cssu | 14:12 |
infobot | from memory, cssu is http://wiki.maemo.org/Community_SSU, or (Community Seamless Software Update) | 14:12 |
ovaltine_ | also i am not using the cssu rom, i have the last nokia rom that they released that had some security bug fixed, dont know maybe it was related to ssl or what, many years back | 14:13 |
*** cyteen has quit IRC | 14:13 | |
KotCzarny | you definitely want cssu then | 14:15 |
KotCzarny | as cssu is not a rom, but kind of security.debian.org repos | 14:15 |
ovaltine_ | btw | 14:20 |
ovaltine_ | who is paying for tmo to keep it hosted and all? | 14:20 |
KotCzarny | maemo foundation | 14:20 |
ovaltine_ | is it all community members? | 14:20 |
KotCzarny | yup | 14:20 |
ovaltine_ | ok | 14:20 |
ovaltine_ | cool | 14:20 |
*** Kabouik has joined #maemo | 14:23 | |
*** cyteen has joined #maemo | 14:25 | |
bencoh | you still need mirrors for the old nokia repositories though | 14:29 |
bencoh | (since a few things still depend on those) | 14:29 |
KotCzarny | bencoh, its explained in article | 14:29 |
bencoh | oh? neat | 14:30 |
*** L29Ah has quit IRC | 14:40 | |
*** cyteen has quit IRC | 14:48 | |
*** shentey has quit IRC | 15:28 | |
*** luke-jr has joined #maemo | 15:31 | |
KotCzarny | miasma: point is, they could've done better for the same price, ie. better usb-sata chip and use box as a big radiator | 15:39 |
KotCzarny | eh. echan. | 15:39 |
*** florian has quit IRC | 16:44 | |
Enrico_Menotti | Is there a way to get a verbose output from NOLO? | 16:44 |
KotCzarny | yes, use debug uart | 16:45 |
Enrico_Menotti | So I need some hardware... | 16:46 |
KotCzarny | quick tip: it's not that easy to get proper hw | 16:46 |
Enrico_Menotti | In fact, I was wondering whether there was some log file with NOLO's output. | 16:47 |
KotCzarny | have some fun: https://wiki.maemo.org/Category:N900_Hardware | 16:48 |
KotCzarny | https://wiki.maemo.org/N900_Hardware_Hacking/serial_dump | 16:49 |
Enrico_Menotti | Ok, so basically I think I can't do that (at least for the moment). | 16:50 |
KotCzarny | yup | 16:51 |
Enrico_Menotti | So let me tell you what I am doing (as usual, I'm experimenting). I'm trying to boot a standard Linux distribution. It's just a test. I have found that mainline kernel has some capabilities for the N900. I tried with the OMAP2plus conif file, and built the kernel. Now I'd try to upload it by Nokia's flasher (upload, not flash). I have been able to do that with Rescue OS's kernel. But no sign of life (with standard | 16:53 |
Enrico_Menotti | Linux). | 16:53 |
Enrico_Menotti | *config file | 16:54 |
Enrico_Menotti | So I was thinking about NOLO's log to understand whether something was happening or not. | 16:54 |
KotCzarny | see instructions on http://elinux.org/N900 | 16:54 |
KotCzarny | if you missed something | 16:55 |
Enrico_Menotti | I have read that page. Let me check again. | 16:55 |
KotCzarny | see u-boot paragraph | 16:56 |
Enrico_Menotti | Ok, it'd like to avoid using u-boot for the moment. I already installed it and in the end bricked the device (not caused by u-boot), and it's been a hard task to unbrick it. | 16:58 |
*** Venemo has joined #maemo | 16:58 | |
Enrico_Menotti | I'd like to use the flasher-3.5 as it is outlined in the instructions for Rescue OS. | 16:58 |
Enrico_Menotti | (To upload and boot.) | 16:59 |
Enrico_Menotti | Probably I'm missing the modules. But I'd like to understand whether the kernel is booting at all. | 17:04 |
DocScrutinizer05 | ~tell ovaltine_ about lazyflashing | 17:31 |
DocScrutinizer05 | ~tell ovaltine_ about BM | 17:32 |
DocScrutinizer05 | ~tell ovaltine_ about jrrepos | 17:32 |
DocScrutinizer05 | ~tell ovaltine_ about jrtools | 17:32 |
KotCzarny | he doesnt want flashing, he wants to experiment | 17:32 |
DocScrutinizer05 | Enrico_Menotti: ((it's been a hard task to unbrick it)) WHAT? | 17:36 |
*** auenf has joined #maemo | 17:38 | |
Enrico_Menotti | Well, I was unable to reflash it after having installed u-boot. I don't give the cause to u-boot - I had messed up some file in Maemo's file system. But in any case, the flasher wasn't recognising the N900 at the usb port. | 17:38 |
DocScrutinizer05 | in a chain x-y-z you played with y and nuked it and you found it a hard task to regain it using x (which it is evidently not), so you prefer to play with x now (NOLO) which you don't even know the mystery (coldflashing) you need to use for fixing it? | 17:39 |
*** auenfx4 has quit IRC | 17:39 | |
Enrico_Menotti | Cold flashing was not working anymore. | 17:40 |
DocScrutinizer05 | bullshit | 17:40 |
Enrico_Menotti | Now it's ok - this happened a few weeks ago. | 17:40 |
DocScrutinizer05 | coldflashing was not needed in your case | 17:40 |
Enrico_Menotti | It was my first trials with this device - I did not know what I was risking. | 17:41 |
DocScrutinizer05 | and coldflashing is only brickable with a sledge hammer, it's in ROMBOOT | 17:41 |
Enrico_Menotti | Ok, maybe cold flashing was working, but I could not flash the device with the usual chain eMMC image - FIASCO image. | 17:42 |
DocScrutinizer05 | you did it wrong | 17:42 |
DocScrutinizer05 | ~flashing | 17:42 |
infobot | hmm... maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware, or - on linux PC - download&extract http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz, cd into it, do sudo ./flash-it-all.sh; or see ~flashing-cmdline, or see ~lazyflashing | 17:42 |
DocScrutinizer05 | has it *ALL*, since ages | 17:43 |
Enrico_Menotti | Maybe, but in the end, if I remember the details, I had to flash just the kernel. | 17:43 |
DocScrutinizer05 | well, good luck. | 17:43 |
Enrico_Menotti | In any case, now that's not so relevant anymore, since it's an issue solved. A couple of days ago I also reflashed the whole thing with stock eMMC and FIASCO image, and it's working properly. I followed the instructions on the page you linked right now. | 17:44 |
Enrico_Menotti | (Including removing the battery in-between the two flashes.) | 17:45 |
DocScrutinizer05 | it seems you're one of those curious users that are determined to do learning by try&error, not bothering about verifying the assumptions your experiments are based on | 17:45 |
DocScrutinizer05 | for booting a kernel you need to provide a few environment items, often kernel commandline. make sure you understand how or even if at all you could adjust this in NOLO to match what your kernel needs | 17:47 |
Enrico_Menotti | Well, the problem is not that I don't want to verify my assumptions. The problem is that I found a bit difficult to find a comprehensive documentation about what I was trying to do. Let me explain: at the beginning, I did not know about Maemo.org, neither about this channel on IRC. I just tried. Now I'm step by step checking what I do. | 17:48 |
DocScrutinizer05 | hint: on OMAP3 kernel it seems it's ATAGS not kernel cmdline | 17:48 |
DocScrutinizer05 | let me help you out a little bit maybe | 17:49 |
Enrico_Menotti | Ok. | 17:49 |
DocScrutinizer05 | the absolute basics: http://www.omappedia.org/wiki/Bootloader_Project | 17:49 |
DocScrutinizer05 | on N900 Nokia called their version of uBoot "NOLO" | 17:50 |
Enrico_Menotti | Ah, did not know it's a version of uBoot. I know NOLO is a bootloader, but I thought it was just developed by Nokia. | 17:51 |
DocScrutinizer05 | the maemo implementation of uBoot by pali is a combined uBoot+kernel in one "package" that gets loaded by NOLO as if it was a kernel but executes a 2nd layer uBoot that can do all the awesome things a uBoot is meant to be able to do | 17:51 |
DocScrutinizer05 | ~uboot | 17:53 |
infobot | N900 uBoot is a siamese twin binary [uBoot+stockMaemoKernel] that resides in kernel NAND partition /dev/mtd3 aka "kernel". You can't uninstall it, rather you'll nuke it when you flash/install another kernel like stock maemo kernel or powerkernel. To start other than stock maemo kernel via uBoot, you have to provide the according kernel image files, or http://talk.maemo.org/showthread.php?t=81613 | 17:53 |
Enrico_Menotti | Ok, I already read something about this. | 17:53 |
*** vahe has joined #maemo | 17:54 | |
Enrico_Menotti | Now for the moment I'd avoid flashing again u-Boot. I'd just want to understand how to put standard Linux kernel in a format suitable to be uploaded (not flashed) and booted by the flasher-3.5. | 17:54 |
DocScrutinizer05 | maemo by default has kernel in "an own partition" (on NAND). Pali's maemo-uBoot either loads the stock kernel other siamese half it comes with, or you load kernel.bzimage whatever the name, which can live in maemo rootfs or on eMMC or uSD in a file | 17:56 |
DocScrutinizer05 | to boot a kernel from NOLO you need special kernel patches aiui, to fix the atags/cmdline thing | 17:57 |
DocScrutinizer05 | https://www.ixquick.com/do/search?q=uboot+atags | 17:58 |
Pali | uboot cannot load kernel image from maemo rootfs (nand, ubifs) due to huge size of code needed for red-black tree implementation | 17:58 |
*** Venemo has quit IRC | 17:58 | |
Pali | so nand+ubifs is disabled for n900 uboot... as there is no more place in nand for it | 17:58 |
Pali | and no special kernel patches are needed to boot directy from nolo | 17:59 |
DocScrutinizer05 | hah, now we have an expert here! \o/ thanks Pali :-) | 17:59 |
Enrico_Menotti | Pali As it is done in Rescue OS documentation, right? flasher-3.5 -b"<arguments>" | 18:00 |
DocScrutinizer05 | >>put standard Linux kernel in a format suitable to be uploaded (not flashed)<< alternative kernels are not flashed, they are files in a filesystem and uBoot loads them like on your x86 arch pc | 18:06 |
DocScrutinizer05 | so if your concern is about avoiding the flashing of kernels, you don't need to use the rather intricate RAM load from flasher | 18:08 |
DocScrutinizer05 | see http://www.omappedia.org/wiki/Bootloader_Project, Pali's uBoot(+stock kernel) replaces the 'Kernel' in that scheme, allowing you to either boot the attached stock kernel OR boot alternative kernels and thus OS from kernel image files you provide on e.g. uSD | 18:11 |
DocScrutinizer05 | uBoot is tested and works, no issues with that | 18:11 |
DocScrutinizer05 | using RAMloaded initrd based alternative kernel is needlessly complicated and not worth anything regarding safety of the procedure | 18:13 |
bencoh | (that would actually depends on the system you're trying to boot ... in some cases you need some initrd for rootfs to become available) | 18:14 |
DocScrutinizer05 | well, we are talking about N900. Or what's meant by "system"? | 18:15 |
bencoh | n900 with rootfs sitting on a dmcrypt device would require cryptsetup at boot, for instance | 18:16 |
DocScrutinizer05 | also note that initrd is a parameter to kernel telling kernel what to load and execute, it's one step later than loading kernel | 18:16 |
DocScrutinizer05 | we're talking about loading kernel right now, so initrd or not is not even a issue at that stage | 18:17 |
Enrico_Menotti | DocScrutinizer05 Right. I could flash u-boot and use that as a loader. But for the moment I'd like to try directly from NOLO. Maybe that's not possible. However, it is done with Rescue OS. I'd like to understand how. | 18:19 |
DocScrutinizer05 | >>I'd just want to understand how to put standard Linux kernel in a format suitable to be uploaded (not flashed) and booted by the flasher-3.5<< | 18:19 |
DocScrutinizer05 | that's documented in rescueOS, why don't you check that and learn how it works? | 18:21 |
DocScrutinizer05 | I don't understand what's the use to learn about RAMloaded kernel before you got your kernel booting 'in a normal way', but... that's pretty much up to you | 18:22 |
Enrico_Menotti | Well, there is something about the initrd, as it has been pointed out to me by NIN101, but I did not find the procedure for the kernel. Apart from the flasher-3.5 -b"<parameters>". Maybe I did not check well enough. | 18:23 |
*** florian has joined #maemo | 18:25 | |
Enrico_Menotti | https://github.com/quitesimpleorg/N900_RescueOS/blob/master/HACKING | 18:28 |
Enrico_Menotti | https://github.com/quitesimpleorg/N900_RescueOS/blob/master/howtocreate | 18:28 |
DocScrutinizer05 | anyway >>I tried with the OMAP2plus conif file, and built the kernel. Now I'd try to upload it by Nokia's flasher (upload, not flash)<< sounds like a pretty poor approach to me, mixing two unrelated problems A and B (aka ramload and new kernel) that both have many possible issues causing the whole thing to fail. A good approach is to first try make one part work (your new kernel loaded via uBoot), and only after that's accomplished try to | 18:29 |
DocScrutinizer05 | accomplish the other part, maybe even with a known good unrelated part (try ramloading a kernel that is *known* to work) | 18:29 |
Enrico_Menotti | Rescue OS kernel works, e.g. (RAMloaded). Yes, I should check the new kernel by another procedure, but that would require to flash u-boot, and I'd like to avoid that for now. | 18:32 |
DocScrutinizer05 | WHY??? | 18:34 |
bencoh | why not, I'd say? booting a new kernel directly from flasher does seem simpler, and should just work, I'd say | 18:36 |
Enrico_Menotti | Just because I'd like not to flash anything on the device for now. As I said, I had to struggle quite a lot for reflashing it. | 18:36 |
bencoh | and it requires one less step (updating kernel in emmc/microsd) | 18:36 |
Enrico_Menotti | bencoh Yes, this is my opinion. | 18:36 |
bencoh | Enrico_Menotti: you should still flash uboot nonetheless, btw ... even if you don't need it for what you're trying to achieve right now | 18:37 |
DocScrutinizer05 | Enrico_Menotti: this proves you lack the knowledge to handle simple scenarios, so you try to avoid the problems in simple scenarios by opting for a complex scenario. doesn't make sense. There is no problem at all in installing uBoot | 18:37 |
bencoh | DocScrutinizer05: I don't see how running flasher should be a complex scenario | 18:38 |
Enrico_Menotti | Yes, that's my point as well. | 18:38 |
bencoh | I mean, we have two working implementations of it | 18:39 |
bencoh | they're both well tested | 18:39 |
bencoh | and require no device modification | 18:39 |
DocScrutinizer05 | oh yeah, ramloading a system seems sooo simple. It just doesn't work with my leete new stuff so PLZ HELP! | 18:39 |
bencoh | ... | 18:39 |
Enrico_Menotti | Ok, the fact I don't know how to do it doesn't mean it is not simple, in my opinion. It's a lack of knowledge from my side, not a higher complexity of the problem. This is my humble opinion. | 18:41 |
DocScrutinizer05 | and what makes you think your lack of knowledge would be a minor obstacle when it comes to a very sĂĽpecial procedure that's rarely ever used and thus not widely tested and only few experts and documents available to help you out? | 18:45 |
Enrico_Menotti | Yes, this is true as well. If I can't find out how to do it this way, I'll do the other way. But first I'd try to understand how this way works. (And it works at least for one system, Rescue OS.) | 18:47 |
DocScrutinizer05 | you want to avoid problems form lack of knowledge how to fix a fsckd up uBoot config (which is a very well known issue easily fixed and you can find a dozen answers to any question you have with it), and you decide the best way is to use a method that basically only Pali, nin101 and fmg have used on a regular basis | 18:48 |
bencoh | DocScrutinizer05: and pretty much everyone that has been using rescueOS (?) | 18:49 |
DocScrutinizer05 | no, those USED it but don't necessarily understand shit of how it works | 18:49 |
DocScrutinizer05 | let me just point out that it's based on NOLO which in turn isn't FOSS like uBoot | 18:51 |
DocScrutinizer05 | NOLO and flasher | 18:51 |
DocScrutinizer05 | don't know if Pali inverstigated it and implemented it into 0xffff | 18:51 |
Enrico_Menotti | Well, if they may help me, I hope Pali and NIN101 will do. Don't want to disturb too much, however. | 18:52 |
bencoh | he did (implement kernel loading in 0xffff) | 18:53 |
DocScrutinizer05 | nin101 already helped you,pointing you to his stuff how rescueOS works and how to prepare the image to load | 18:53 |
DocScrutinizer05 | [2017-03-30 Thu 14:13:06] <NIN101> https://github.com/NIN101/N900_RescueOS/blob/master/howtocreate https://github.com/NIN101/N900_RescueOS/blob/master/HACKING | 18:55 |
Enrico_Menotti | Yes, I read it many times. I will google for "buildroot" and see what comes out. | 18:57 |
DocScrutinizer05 | >><Enrico_Menotti> So let me tell you what I am doing (as usual, I'm experimenting). I'm trying to boot a standard Linux distribution<< WONT WORK with intird!!! NOT ENOUGH RAM! | 18:58 |
DocScrutinizer05 | you're aware why it's called initRamDisk? because it takes away RAM from system to store files in it that are usually stored on e.g. BABD or eMMC or uSD | 19:00 |
DocScrutinizer05 | NAND, not babd | 19:00 |
DocScrutinizer05 | and btw no normal user would refer to installation of uBoot as "flashing", it's a normal package install from user perspective | 19:02 |
DocScrutinizer05 | this is not android where you need to flash custom ROM | 19:02 |
Enrico_Menotti | This is how I came to yesterday's problem of how to transfer files from my computer to the N900. I put the file system on the sd card. But what for the kernel? Without u-boot I cannot upload it from eMMC or sd card. I need to upload it to RAM by the flasher and boot it, right? | 19:04 |
DocScrutinizer05 | the eror lies in "without uboot" | 19:05 |
DocScrutinizer05 | not even trying to explain how you will run into further special customization need when trying to make your initrd pivotroot onto the system on uSD then. Or musing about if or if not flasher+NOLO can load kernel from uSD file instead uploading i | 19:09 |
DocScrutinizer05 | honestly what's so unbearably terrible about `apt-get install uboot-pr13` ? | 19:11 |
Enrico_Menotti | As I said, if I can't avoid it, I will do it. | 19:12 |
DocScrutinizer05 | and yes, to get rid of it in case you messed up completely (hard to imagine how you'd do that) you simply flash stock kernel and everything back to normal, which is a nobrainer just like the installation | 19:12 |
DocScrutinizer05 | Pali: when uboot missing its config files, would it break or simply boot straight into default aka stock kernel? | 19:14 |
Pali | uboot has hardcoded in its binary some defaults | 19:15 |
DocScrutinizer05 | ta! :-) | 19:15 |
Pali | which are used when boomenu.src file is not available | 19:15 |
Pali | so yes, it boots default attached kernel | 19:15 |
DocScrutinizer05 | Enrico_Menotti: see, it's basically impossible to break uboot | 19:16 |
Enrico_Menotti | ... | 19:16 |
Pali | correct package is u-boot-flasher: http://maemo.org/packages/view/u-boot-flasher | 19:16 |
Enrico_Menotti | The first time, I flashed everything ok, installed u-boot, messed up, and then I was unable to boot stock kernel. Nor normally flash the device. I also ended up with empty battery. Pali and NIN101 helped me in order to boot rescue OS from the sd card. This allowed charging the battery. Then I had to flash just the kernel, if I remember it right, and then I was able to flash normally. | 19:19 |
freemangordon | Enrico_Menotti: anyway, you can;t boot omap2plus_defconfig build kernel iirc | 19:19 |
freemangordon | check the one on Pali's tree on github | 19:20 |
freemangordon | ~elinux | 19:20 |
infobot | [elinux] http://eLinux.org/ or the Embedded Linux project. cross compilers. build systems, hardware hacking etc. | 19:20 |
freemangordon | Enrico_Menotti: https://github.com/pali/linux-n900 | 19:20 |
DocScrutinizer05 | >>The first time, I flashed everything ok, installed u-boot,<< ok, so far >>messed up<< whatever you did, it been most likely because of lack of experience and info >>and then I was unable to boot stock kernel<< well, quite possible if you installed another kernel the wrong way >>Nor normally flash the device.<< PEBCAK | 19:21 |
Enrico_Menotti | freemangordon This is something in fact I would like to understand. Maybe I did the wrong thing in choosing mainline kernel. But there is a branch dedicated to the N900. And it's incorporated into the mainline. I tried to make that config file and then make menuconfig. Seems there are options for the N900. | 19:22 |
DocScrutinizer05 | >>I also ended up with empty battery<< which is clearly PEBCAK since you been warned a dozen times at least during your study of docs and howtos that you need a fully charged battery before you mess around with the system in any way. And you shouldn't let system run in a bootloop for hours | 19:23 |
bencoh | DocScrutinizer05: I honestly don't think this is helping | 19:24 |
DocScrutinizer05 | It helps correct user attitude that dispises uBoot based on unrelated bad experience | 19:25 |
Enrico_Menotti | DocScrutinizer05 What's that acronym PEBCAK? Sorry, I'm a poor Italian. :) | 19:26 |
DocScrutinizer05 | ~wtf pebcak | 19:26 |
infobot | Gee... I don't know what pebcak means... | 19:26 |
DocScrutinizer05 | ~wtf peblac | 19:26 |
infobot | Gee... I don't know what peblac means... | 19:26 |
DocScrutinizer05 | ~wtf pebkac | 19:26 |
infobot | PEBKAC: problem exists between keyboard and chair | 19:26 |
Enrico_Menotti | ... | 19:27 |
freemangordon | Enrico_Menotti: get rx51_defconfig from pali's tree on github (the one for linux 4.9) amd us that config with mainline kernel | 19:28 |
freemangordon | *and | 19:28 |
DocScrutinizer05 | *and use | 19:28 |
freemangordon | mainline has no branch dedicated to n900 last time I've checked | 19:28 |
freemangordon | DocScrutinizer05: yep, thanks | 19:28 |
DocScrutinizer05 | :-) | 19:29 |
*** tryagain has quit IRC | 19:29 | |
DocScrutinizer05 | freemangordon: thanks for chiming in. experts urgently needed here to make happy a user eager to learn and no hood docs around | 19:30 |
DocScrutinizer05 | s/hood/good/ | 19:30 |
infobot | DocScrutinizer05 meant: freemangordon: thanks for chiming in. experts urgently needed here to make happy a user eager to learn and no good docs around | 19:30 |
freemangordon | Pali: did you see the issue I opened against libhildonfm? | 19:30 |
*** vahe has quit IRC | 19:30 | |
Pali | yes, but did not have time look at it deeply.. | 19:31 |
Pali | (now reading PDF spec and playing with generating PDF files... :-)) | 19:31 |
freemangordon | :) | 19:31 |
DocScrutinizer05 | malware pdfs? ;-P | 19:32 |
bencoh | and sha stuff? :* | 19:32 |
freemangordon | well, the fix should be trivial, I may take on it these days if I find some spare time | 19:32 |
bencoh | freemangordon: you mean, removing const attributes? | 19:32 |
Enrico_Menotti | DocScrutinizer05 Referring to the PEBKAC, I won't take this as an insult. I'm just trying to learn. But as bencoh said, this is not helping. | 19:32 |
Enrico_Menotti | freemangordon About the defconfig file, I will try, thanks. | 19:33 |
freemangordon | bencoh: not only that, see https://github.com/community-ssu/libhildonfm/blob/master/hildon-fm/hildon-file-system-storage-dialog.c#L1268 | 19:33 |
DocScrutinizer05 | Enrico_Menotti: wasn't an insult. I appreciate you want to learn. FOSS people and particularly me olf fart are sounding grumpy often when trying to convey facts as compressed as possible | 19:33 |
bencoh | freemangordon: I suppose you're not referring to the fact that this is an awfully long name for a function :D | 19:34 |
freemangordon | bencoh: total = _("sfil_va_total_size_removable_storage"); and next 2 lines should be total =g_strdup( _("sfil_va_total_size_removable_storage")); IIUC | 19:34 |
bencoh | hm, could be yeah | 19:35 |
DocScrutinizer05 | Enrico_Menotti: you have a dislike of uBoot which lets you make not very wide decisions about how to proceed which will lead to more similar negative experience like you laready had in unrelated contect of uboot | 19:35 |
DocScrutinizer05 | s/wide /wise/ | 19:35 |
infobot | DocScrutinizer05 meant: Enrico_Menotti: you have a dislike of uBoot which lets you make not very wisedecisions about how to proceed which will lead to more similar negative experience like you laready had in unrelated contect of uboot | 19:35 |
freemangordon | bencoh: because we have g_free(total); couple of lines down ;) | 19:35 |
bencoh | freemangordon: haven't played much with glib/gtk recently | 19:35 |
bencoh | yeah | 19:35 |
bencoh | :) | 19:35 |
bencoh | rogjt | 19:36 |
bencoh | right*. | 19:36 |
freemangordon | _() macro resolves to dgettext() | 19:36 |
freemangordon | bencoh: from man dgettext " The resulting string is statically allocated and must not be modified or freed." | 19:36 |
bencoh | huhu | 19:36 |
freemangordon | so the issue is way biger than just const modifier :) | 19:37 |
freemangordon | *bigger | 19:37 |
bencoh | indeed | 19:37 |
freemangordon | hmm.. | 19:37 |
bencoh | I wonder if we really want to g_free | 19:37 |
* freemangordon checks with gtranslate :) | 19:37 | |
freemangordon | yeah, double g | 19:37 |
freemangordon | bencoh: yes, we want, as hildon_format_file_size_for_display allocates memory | 19:38 |
freemangordon | bencoh: http://maemo.org/api_refs/5.0/beta/hildon/hildon-Helper-Functions.html#hildon-format-file-size-for-display | 19:38 |
bencoh | searching for "gtranslate" on google .... meh :) | 19:38 |
DocScrutinizer05 | PEBKAC is just a short term for "user did probably something wrong, maybe because of lack of good instructions or documentation, maybe because of a typo or whatever other oopsie that everybody does from time to time" | 19:38 |
bencoh | (silly me) | 19:38 |
bencoh | ah, in that case ... | 19:39 |
freemangordon | at least this is how I read "This function is similar to g_format_file_size_for_display() " | 19:39 |
bencoh | how did you stumble on that? | 19:39 |
freemangordon | while porting libhildonfm from gnomevfs to gio | 19:40 |
bencoh | ouch | 19:40 |
bencoh | gtk3 port? | 19:40 |
freemangordon | gtk2 | 19:40 |
bencoh | ah | 19:40 |
freemangordon | but it should be the same/similar for gtk3 IMO | 19:41 |
*** chainsawbike has quit IRC | 19:42 | |
Enrico_Menotti | DocScrutinizer05 Ok, no pb. In any case at this point I will read about buildroot, which is used for the building of rescue OS. Also I may try with the defconfig by Pali . If none of these ways will be successful, I will install u-boot and try with that. | 19:42 |
DocScrutinizer05 | defconfig and uBoot/buildroot are orthogonal | 19:43 |
freemangordon | Enrico_Menotti: there is a bootable n900 devuan image http://46.249.74.23/devuan/image/ with kernel 4.something (4.8 iirc) | 19:44 |
freemangordon | Enrico_Menotti: uimage http://46.249.74.23/devuan/kernel-n900/ | 19:44 |
buZz | i have devuan on a n900 :) | 19:44 |
DocScrutinizer05 | Pali and freemangordon are very experienced kernel devs who know their shit, when they tell you what works and what doesn't, i'd suggest to faithfully trust in their word :-) | 19:44 |
*** chainsawbike has joined #maemo | 19:44 | |
buZz | kinda nice but needs moar tweaks | 19:45 |
buZz | still havent implemented right-clicking for instance :P | 19:45 |
buZz | i just debootstrapped plain though | 19:45 |
freemangordon | buZz: did you use parazyd's builder? | 19:45 |
buZz | i used https://github.com/dderby/debian900 | 19:45 |
DocScrutinizer05 | Enrico_Menotti: odds are a lot of upstream N900 kernel stuff you find has been upstreamed by Pali and freemangordon | 19:46 |
freemangordon | buZz: yeah, that one | 19:46 |
freemangordon | hmm, wait | 19:46 |
buZz | worked well, kinda amazed at how nice it is to run devuan on this device | 19:47 |
freemangordon | no, not that one | 19:47 |
buZz | well , thats the one i used :D | 19:47 |
freemangordon | yeah, but there is a newer one :) | 19:47 |
freemangordon | buZz: see https://github.com/dyne/arm-sdk | 19:47 |
DocScrutinizer05 | freemangordon: when you got a kernel that is supposed to work according to freemangordon and you can't ramload it, nothing wrong with asking about it and get help :-) | 19:48 |
freemangordon | DocScrutinizer05: was that pointed to me? | 19:49 |
DocScrutinizer05 | oops sorry nope, ETAB | 19:49 |
buZz | i might try it someday :) | 19:49 |
DocScrutinizer05 | Enrico_Menotti: ^^^ | 19:49 |
buZz | starred | 19:49 |
freemangordon | buZz: the image ^^^ is build with it, albeit a couple of months ago | 19:49 |
* DocScrutinizer05 eventually will patch konversation to have two separate LRY stacks for tan nick expansion at start of line and inline | 19:51 | |
DocScrutinizer05 | LRU* and tab* | 19:51 |
Enrico_Menotti | DocScrutinizer05 freemangordon Ok, I am looking at that kernel. I need a moment. | 19:52 |
DocScrutinizer05 | :-)) | 19:52 |
* freemangordon is starving, going to find something to bite | 19:53 | |
bencoh | damn I seriously need a second n900 to play with those things | 20:02 |
bencoh | (mainline kernel, devuan, ...) | 20:02 |
bencoh | (well I'd need time, too, but ...) | 20:02 |
*** xy2_ has joined #maemo | 20:03 | |
buZz | bencoh: and a third | 20:05 |
DocScrutinizer05 | freemangordon: ((devuan image)) armhf? | 20:06 |
freemangordon | yes | 20:07 |
Enrico_Menotti | freemangordon Ok, I got the kernel and system image. A first question: this is a uImage, so it is supposed to be loaded by u-boot, right? What if I want to try to RAMload it with the flasher? | 20:07 |
freemangordon | Pali: ^^^ | 20:07 |
freemangordon | Enrico_Menotti: though, you can ximply try | 20:08 |
freemangordon | *simply | 20:08 |
freemangordon | kernel not booting is the worst that can happen | 20:08 |
freemangordon | but yeah, it is supposed to be loaded by uboot | 20:09 |
Enrico_Menotti | No way to convert it to zImage? | 20:09 |
DocScrutinizer05 | yeah, but what's supposed to happen if it does load and run | 20:09 |
freemangordon | Enrico_Menotti: none I am aware of | 20:10 |
freemangordon | lemme try to find zImage | 20:10 |
Enrico_Menotti | Thank you. | 20:10 |
DocScrutinizer05 | http://unix.stackexchange.com/questions/122526/how-to-convert-a-zimage-into-uimage-for-booting-with-u-boot | 20:10 |
freemangordon | Enrico_Menotti: I found some newer, you may try with it. it is on http://46.249.74.23/devuan/kernel-n900/ | 20:12 |
DocScrutinizer05 | https://linux.die.net/man/1/mkimage | 20:13 |
freemangordon | DocScrutinizer05: he wants the opposite uImage->zImage | 20:13 |
DocScrutinizer05 | I know it's wrong way around, but explains the diffs | 20:14 |
*** xy2_ has quit IRC | 20:15 | |
DocScrutinizer05 | hmm, seems pretty nontrivial | 20:16 |
DocScrutinizer05 | mkimage has no inverse option to uimg->zimg | 20:17 |
*** xy2_ has joined #maemo | 20:17 | |
Enrico_Menotti | freemangordon Ok, thank you, got it. Just in order to avoid doing strange things, I'd have a second question. The system image - I can't upload it to RAM (2GB). So should I mount it on a Linux system and then extract the contents to the SD card? | 20:18 |
Zungo | cant you use dd ? | 20:20 |
Zungo | also the image might be writeable? | 20:20 |
bencoh | uimage -> zimage is a simple dd skip=64 bs=1 | 20:20 |
DocScrutinizer05 | :-D \o/ | 20:21 |
Enrico_Menotti | Zungo Ok, let me try. | 20:21 |
bencoh | and building zimage (vmlinuz) from a kernel tree is quite simple considering you've succeeded in building uimage :) | 20:21 |
DocScrutinizer05 | easy to verify with mkimage applied to the result and check if it creates the original uimage | 20:22 |
bencoh | DocScrutinizer05: you'd need to know mkimage parameters | 20:22 |
bencoh | but yeah | 20:22 |
bencoh | uboot (simple) header contains loadaddress and image name among other things | 20:23 |
*** xy2_ has quit IRC | 20:28 | |
*** xy2_ has joined #maemo | 20:29 | |
freemangordon | Enrico_Menotti: on ubuntu you can write compressed image directly to SD card with "disks" UI. No idea about debian, but there should be similar functionality | 20:32 |
freemangordon | Enrico_Menotti: but simple "extract" won't do the job, there is more than just a files | 20:34 |
Enrico_Menotti | freemangordon Thanks. I used rsync for transferring the Debian file system to the sd card. I was thinking about the same way here. Clearly, it is easier to write directly the zImage. Now, I have (as usual :) ) a quite convoluted situation. Let me explain. | 20:36 |
Enrico_Menotti | My main computer is a Mac. I have a Debian live distribution running on another computer, which is unable to read sd cards (doesn't have a slot for that). I'd use directly the N900 for writing the disk image to the sd card. | 20:37 |
freemangordon | Enrico_Menotti: I am not sure rsync will do the job, but I might be wrong. just to be sure, use dd | 20:37 |
Enrico_Menotti | So now I'd resort to dd. But I think the zImage expects the sd card to be the right size, or a partition to be prepared in advance, am I right or wrong? | 20:38 |
freemangordon | doing dd of uncompressed image to sdcard is all you need, this is why it is disk image, but not a file archive | 20:39 |
freemangordon | *files archive | 20:39 |
Zungo | you can always use CLI | 20:40 |
Zungo | and theres GParted | 20:40 |
Enrico_Menotti | Zungo On N900? | 20:40 |
Zungo | idk | 20:41 |
Zungo | i do not have a n900 | 20:41 |
Zungo | yet | 20:41 |
freemangordon | Enrico_Menotti: no, on debian | 20:41 |
Sicelo | Zungo: you'll be very happy when you finally get it :) | 20:42 |
freemangordon | install gparted and use it to restore the image onto the sdcard | 20:42 |
Enrico_Menotti | Don't have the GUI on Debian. Just command line (small computer). | 20:42 |
Zungo | debian is like ubuntu :p | 20:42 |
freemangordon | ah | 20:42 |
Zungo | you can always install X | 20:42 |
freemangordon | well, dd is your friend | 20:42 |
buZz | ubuntu is debian without training wheels | 20:42 |
buZz | with* | 20:42 |
buZz | dangit | 20:42 |
freemangordon | mhm | 20:42 |
freemangordon | but I like it, in most of its part | 20:43 |
buZz | yeah, i like devuan aswell | 20:43 |
Zungo | actually gparted doesnt restore images but can attempt to restore lost partitions | 20:43 |
Zungo | photorec or testdisk for that | 20:44 |
freemangordon | Enrico_Menotti: BUT - don;t forget to uncompress the image first (well, you can uncompress it on-the-fly) | 20:44 |
Zungo | they're a bit old through | 20:44 |
Enrico_Menotti | freemangordon Ok, I'm still so handicapped with Linux & friends that I have to google for the right commands. But I'll manage to find the way. Just a question about dd: I found it is usually invoked with an option "bs=4096". Is this choice standard? | 20:45 |
freemangordon | I think yes | 20:46 |
freemangordon | but I am not exactly dd guru, so don't quote me on that one :) | 20:47 |
Enrico_Menotti | Ok, I'll just try. | 20:47 |
Zungo | check the man pages for that | 20:47 |
freemangordon | but it should be something like dd if=$image of=/dev/$sdcard bs=4096 | 20:47 |
Zungo | you'd have to figure out with what default commandline is dd compiled with | 20:48 |
Sicelo | what image is he restoring by the way? sorry i missed the first part of discussion | 20:48 |
freemangordon | Zungo: what is the shell tool to uncompress .xz images? | 20:48 |
freemangordon | Sicelo: devuan n900 | 20:48 |
Zungo | because most of the time the defaults are fine with dd | 20:48 |
Sicelo | ok | 20:48 |
Sicelo | xz decompresses .xz :) | 20:49 |
Zungo | lel | 20:49 |
freemangordon | thancs | 20:49 |
freemangordon | *thanks | 20:49 |
freemangordon | Sicelo: it doesn;t need parameters to decompress it and to put it on stdout? | 20:49 |
Sicelo | i'm happy Enrico_Menotti is installing a proper linux now (not Nitdroid) | 20:50 |
Sicelo | where' the link for devuan n900? | 20:50 |
Sicelo | well, a quick check says for stdout, you use -c | 20:50 |
freemangordon | Enrico_Menotti: some notes - devuan image is without X, login is usr=root pwd=toor, IIRC | 20:51 |
Sicelo | link please :) | 20:51 |
freemangordon | Enrico_Menotti: so, you may try with "xz -c $image.xz | dd -of=/dev/$sdcard bs=4096", without quotes | 20:52 |
freemangordon | Sicelo: link to what? | 20:52 |
Sicelo | devuan image | 20:52 |
freemangordon | see backscroll | 20:52 |
Sicelo | thanks got it now | 20:55 |
Zungo | so there is a devuan+maemo image for testing? | 21:01 |
buZz | with maemo embedded into devuan? | 21:02 |
buZz | that sounds nice | 21:02 |
Zungo | or just devuan images for n900..? | 21:02 |
buZz | 18:44:02 < freemangordon> Enrico_Menotti: there is a bootable n900 devuan image http://46.249.74.23/devuan/image/ with kernel 4.something (4.8 iirc) | 21:02 |
buZz | 18:44:32 < freemangordon> Enrico_Menotti: uimage http://46.249.74.23/devuan/kernel-n900/ | 21:02 |
Zungo | ah | 21:03 |
buZz | i think these are an image anyway | 21:03 |
parazyd | freemangordon: there was a newer i made with Wizzup | 21:03 |
parazyd | sec | 21:03 |
parazyd | https://pub.parazyd.cf/tmp/devuan_jessie_1.0.0-RC_armhf_n900.img.xz | 21:03 |
parazyd | https://pub.parazyd.cf/tmp/devuan_jessie_1.0.0-RC_armhf_n900.img.xz.sha (sha256) | 21:03 |
parazyd | 4.10 mainlie | 21:03 |
freemangordon | parazyd: thanks | 21:03 |
parazyd | *mainline. uncompresses to ~2GB | 21:03 |
freemangordon | Enrico_Menotti: ^^^ | 21:04 |
freemangordon | Zungo: no, embedding maemo with devuan is WIP | 21:04 |
freemangordon | Zungo: see https://github.com/fremantle-gtk2 | 21:05 |
Zungo | right | 21:06 |
Zungo | has those updated yet? | 21:06 |
freemangordon | buZz: Zungo: see videos at http://46.249.74.23/allwinner/ for some very very early results. This is gtk3 hildon-desktop running on top of devuan n900 image prepared with parazyd's armsdk. | 21:07 |
freemangordon | Zungo: updated? | 21:07 |
buZz | allwinner n900? YES PLEASE | 21:07 |
buZz | :) | 21:08 |
parazyd | ^_^ | 21:08 |
freemangordon | no, it is not allwinner n900, but some cheapo alwinner tablet I bought for the purpose of POC | 21:08 |
Zungo | hoping the ia32 variants are ready soon | 21:08 |
Zungo | lel | 21:08 |
freemangordon | Zungo: well, actually I am using x86-64 VM for all the development ;) | 21:09 |
freemangordon | and testing | 21:09 |
freemangordon | Zungo: so, in theory, all you need to do is to git clone;dpng-buildpackge | 21:09 |
buZz | freemangordon: A13 ? :D | 21:09 |
freemangordon | *dpkg-buildpackge | 21:10 |
buZz | i have some 7" A13 tablet somewhere | 21:10 |
freemangordon | buZz: A33 | 21:10 |
Zungo | freemangordon: its juest | 21:10 |
freemangordon | Zungo: sorry, can;t parse | 21:10 |
Zungo | that i am juest | 21:10 |
Zungo | -_- | 21:10 |
freemangordon | ah | 21:11 |
freemangordon | buZz: you need upstream kernel support AND working 3D accell | 21:11 |
buZz | A10/13/20 afaik all have upstream & 3d accell sorta working | 21:12 |
freemangordon | well, maybe upstream is not a must, but I don;t know how well devuan will play with some OEM kernel | 21:12 |
buZz | with blobbed drivers though | 21:12 |
freemangordon | buZz: yeah, blobbed | 21:12 |
freemangordon | but a10/a13/a20 are nowhere to be found | 21:13 |
buZz | which nowhere are you refering to? | 21:13 |
freemangordon | ebay | 21:13 |
buZz | oh no clue | 21:13 |
buZz | A13 = whats inside R8 | 21:14 |
buZz | so 'CHIP' is A13 | 21:14 |
freemangordon | no idea | 21:14 |
buZz | i'm telling you :) | 21:14 |
freemangordon | however, having it working on A33 is better | 21:14 |
buZz | yeah? | 21:14 |
freemangordon | yeah, those are some 50 euros - 4 cores/512MB | 21:15 |
buZz | i'm aware what the SOC is :P | 21:16 |
freemangordon | ok | 21:16 |
freemangordon | but I was not aware if you are :p | 21:16 |
buZz | thats ok <3 | 21:17 |
buZz | appreciated | 21:17 |
freemangordon | anyway, with help of Wizzup and parazyd, we may have maemo rebased on devuan repo on devuan servers. ofc not full maemo, but at least hildon-desktop, hildon-status-menu and hildon-home | 21:18 |
freemangordon | in 2-3 weeks from now, if they manage to find the needed time to do it | 21:19 |
buZz | quite nice | 21:19 |
freemangordon | mhm. I hope to attract more devs once there is something to be shown besides a POC | 21:19 |
Zungo | \o/ | 21:20 |
parazyd | yes i hope to do amprolla this month | 21:20 |
freemangordon | yeah, there are piles of porting work waiting to be done, not a one-man-show task | 21:20 |
parazyd | also devuan RC will be released | 21:20 |
parazyd | and then hopefully the other devuan people enable the CI | 21:21 |
freemangordon | cool | 21:21 |
parazyd | so for other ppl interested: this way we don't "taint" devuan repos, but have our own downstream | 21:22 |
parazyd | which takes precedence over devuan then so one can even override a devuan package | 21:22 |
parazyd | (automagically) | 21:23 |
freemangordon | I wonder if we can make some more noise. After all the final goal is to have a real mobile/tablet linux, so I somehow expect a bit more enthusiasm from FOSS people. | 21:23 |
parazyd | maybe on some conferences | 21:23 |
freemangordon | mhm. But still, there should be something at least close to functioning to be shown there | 21:24 |
freemangordon | however, I am one function away from finishing libhildonfm porting to gio, and IIRC that was the last missing hildon-home dependency | 21:25 |
parazyd | <3 | 21:25 |
buZz | devuan RC? | 21:25 |
parazyd | jessie release candidate | 21:25 |
parazyd | yeah, it's slow... but steady i guess | 21:26 |
freemangordon | once having those 3 (h-d, h-h and h-s-m) I guess it will get easier | 21:26 |
freemangordon | though there remains stuff like systemui etc | 21:26 |
parazyd | i don't like that it's moving _so_ slow though. debian already froze jessie and is getting ready for stretch | 21:26 |
parazyd | but this is not the place to bitch about it | 21:26 |
freemangordon | not THAT hard, but time consuming | 21:26 |
freemangordon | IT would have been great if there was at least one more dev to work on sporting stuff that we have source code of, so me to be able to focus on REing work, but... | 21:27 |
freemangordon | *porting | 21:28 |
KotCzarny | fmg: a10/a20 is present in those MIDxxx cheapo tablets from few years ago, that are laying around in people's houses | 21:28 |
parazyd | we'll see | 21:28 |
KotCzarny | and all of them would be very easy to make supported | 21:29 |
buZz | i think so too | 21:30 |
buZz | i can get to trying on this A13 tablet i own once something gets testable? | 21:31 |
KotCzarny | yup | 21:31 |
KotCzarny | you can do it now | 21:31 |
freemangordon | KotCzarny: I have not been able to find any online source to buy anything older than a33 | 21:32 |
KotCzarny | fmg: second hand goods? unless you are interested in only something that can be bought new? | 21:32 |
freemangordon | buZz: it is testable ATM | 21:32 |
freemangordon | KotCzarny: yep, I wanted for it to be new, I don;t really need HW failures to mess with OS development | 21:33 |
*** tryagain has joined #maemo | 21:33 | |
*** florian has quit IRC | 21:34 | |
freemangordon | buZz: you only need to install debian/devuan, X, 3d drivers gcc and git | 21:34 |
KotCzarny | i have a quite successful theory, that if you buy something used that is working, it wont fail for a long time. new things, straight from the factory, otoh, can have a high chance of failure | 21:35 |
freemangordon | could be | 21:35 |
freemangordon | but still, it was way easier to buy it from BG merchant, with warranty and 3 days for delivery :) | 21:35 |
KotCzarny | and if it fails, 2-3 weeks of being without device? ;) | 21:36 |
freemangordon | and with return policy covered by EU rules | 21:36 |
freemangordon | for that price, I can buy 2 per week :) | 21:36 |
KotCzarny | ;) | 21:36 |
KotCzarny | yeah, that's winning argument | 21:37 |
KotCzarny | BUT, if you manage to find a10/a13 for 5usd .. ;) | 21:37 |
freemangordon | the key being "if you manage" | 21:37 |
freemangordon | I failed | 21:37 |
freemangordon | there were only 2 or 3 on some Russian sites, I'd rather not mess with | 21:38 |
freemangordon | no EU to cover my ass there | 21:38 |
KotCzarny | most people who own those old devices are usually not knowing what they have | 21:38 |
freemangordon | Wizzup searched for used a10/a13 for a week or so, he found almost nothing | 21:39 |
freemangordon | and, I think it is better to try the newest as it is probable to be supported/available for some time | 21:39 |
freemangordon | not that a33 is the newest, but still | 21:40 |
KotCzarny | erm, that's not true in arm land | 21:40 |
KotCzarny | newest arent supported for 3-12 months | 21:40 |
freemangordon | KotCzarny: what is the point to port maemo to HW you can;t buy? | 21:40 |
KotCzarny | and vendor bsp is usually crap | 21:40 |
KotCzarny | fmg, afair, requirement is 'mainline kernel with not locked bootloader and 3g accel' | 21:41 |
KotCzarny | *3d | 21:41 |
freemangordon | well, yeah | 21:42 |
Enrico_Menotti | Sorry, I have a small issue. I have been able to use dd to write the disk image to sd card, but when I try to mount the sd card itself I get "invalid argument". | 21:43 |
KotCzarny | dd image? | 21:44 |
freemangordon | youcan;t mount it, as there are several partitions | 21:44 |
KotCzarny | what dd image | 21:44 |
freemangordon | devuan n900 | 21:44 |
KotCzarny | ahm | 21:44 |
parazyd | be sure to uncompress it first | 21:45 |
freemangordon | yeah, warned him several times already :) | 21:45 |
parazyd | just making sure... why can't it be mounted then? | 21:45 |
KotCzarny | because you need -o param | 21:45 |
parazyd | i get mmcblk0p1 and p2 on my laptop after dd-ing | 21:45 |
KotCzarny | if you dont specify partition | 21:45 |
KotCzarny | parazyd, you need hdparm -z too | 21:45 |
freemangordon | KotCzarny: hmm? | 21:46 |
KotCzarny | or other way to reread partition table | 21:46 |
freemangordon | ah, yeah | 21:46 |
parazyd | partprobe, yes | 21:46 |
freemangordon | Enrico_Menotti: just reconnect sdcard | 21:46 |
Enrico_Menotti | I decompressed the .xz file on the Mac. Got a .img file. Transferred that to the N900. dd the image to the sd card. Under /dev I see mmcblk1 and mmcblk1p1. | 21:47 |
freemangordon | that's the easiest way to force debian to reread the partition table | 21:47 |
KotCzarny | reinsert card | 21:47 |
KotCzarny | and check for new partitions | 21:47 |
freemangordon | Enrico_Menotti: emove the back cover and then put it back | 21:47 |
Enrico_Menotti | No other way than opening the back cover and extracting/reinserting the card? | 21:47 |
freemangordon | just remoive tha back cover | 21:47 |
KotCzarny | or use hdparm -z /dev/mmcblk0 (or 1) | 21:47 |
freemangordon | no need to remove/instert the card | 21:48 |
freemangordon | damn typos :( | 21:48 |
Enrico_Menotti | KotCzarny Ok, will try this way. | 21:48 |
Enrico_Menotti | No, hdparm not found on the N900. I will manage with the cover. | 21:49 |
Enrico_Menotti | Ok, I have two partitions. The first may be mounted, but there's just a uImage inside, and the second cannot be mounted: "invalid argument". | 21:54 |
KotCzarny | maybe its ext4 | 21:54 |
KotCzarny | ie. unsupported by n900 | 21:55 |
KotCzarny | s/n900/maemo/ | 21:55 |
infobot | KotCzarny meant: ie. unsupported by maemo | 21:55 |
Enrico_Menotti | Ah ok. | 21:55 |
KotCzarny | you can always check on pc | 21:55 |
Enrico_Menotti | No, I have problems with this: the pc where I run Debian does not have a sd card reader, and the other is a Mac, which, as far as I know, is unable to read ext fs. | 21:56 |
parazyd | KotCzarny: it is | 21:56 |
parazyd | p1 is fat32, p2 is ext4 (purposely) | 21:57 |
Enrico_Menotti | parazyd So what parameter do I have to pass to the kernel? rootfs=/dev/mmcblk1p2 ? | 21:57 |
parazyd | you can't mount it under maemo | 21:57 |
KotCzarny | he asks how to boot it | 21:58 |
KotCzarny | on n900 | 21:58 |
Enrico_Menotti | Yes, I will boot the Devian kernel. | 21:58 |
parazyd | my reasoning for choosing ext4 is because of this exactly. so maemo doesn't touch it | 21:58 |
parazyd | in uboot console type 'run sdboot' | 21:58 |
Enrico_Menotti | No uboot. Upload by flasher. | 21:58 |
Enrico_Menotti | I need to know the parameter to be passed to the kernel. | 21:58 |
parazyd | i wouldn't know | 21:59 |
Sicelo | (you might want to start giving u-boot some love - or reinforce your USB) | 21:59 |
parazyd | try root=/dev/mmcblk1p2 i guess | 21:59 |
*** pagurus has joined #maemo | 21:59 | |
parazyd | but indeed, get uboot ;) | 21:59 |
Enrico_Menotti | parazyd Ok if the rootfs is in the second partition, this should work. | 21:59 |
parazyd | yes | 21:59 |
Enrico_Menotti | After some testing I will get u boot, of course. | 22:00 |
parazyd | the fstab has an entry for /boot | 22:00 |
parazyd | but it's an uimage | 22:00 |
parazyd | i dunno what else besides uboot can use it | 22:00 |
Sicelo | Zungo: gearcm flashed :) | 22:01 |
Zungo | congrats | 22:01 |
Zungo | sicelo: you wont need odin again, afaik | 22:01 |
Sicelo | yes, i only used it once | 22:01 |
freemangordon | parazyd: re maemo won;t touch ext4 - iirc kernel-power has ext4 support | 22:02 |
parazyd | oh ok | 22:03 |
*** pagurus has quit IRC | 22:03 | |
parazyd | though ext4 is still a sane choice, no? | 22:03 |
freemangordon | Enrico_Menotti: keep in mind I am not sure zImage i provided is the correct one | 22:03 |
KotCzarny | btrfs maybe | 22:03 |
freemangordon | uImage is though | 22:03 |
Wizzup | freemangordon: a friend of mine said he had an old a10 tablet, but they are very hard to source | 22:03 |
freemangordon | KotCzarny: ^^^ | 22:04 |
KotCzarny | :) | 22:04 |
Wizzup | 20:19 < freemangordon> mhm. I hope to attract more devs once there is something to be shown besides a POC | 22:04 |
Wizzup | this :) | 22:04 |
*** pagurus has joined #maemo | 22:04 | |
KotCzarny | who wants my a10 tablet? (touch is dead) | 22:04 |
Wizzup | freemangordon: let's make noise once we have something that people can dd & apt-get upgrade, so to speak | 22:04 |
Wizzup | something that has at least h-d + xterm or so | 22:04 |
freemangordon | yeah | 22:04 |
freemangordon | BTW, I have xterm running in my VM | 22:05 |
KotCzarny | allwinner has particular advantage of having sdcard at higher boot priority | 22:05 |
parazyd | i saw firefox in your tablet vid :) | 22:05 |
freemangordon | I use fel | 22:05 |
freemangordon | parazyd: yeah | 22:05 |
freemangordon | parazyd: and debian file manager (with some strange name) and wicd | 22:06 |
parazyd | there is networkmanager btw, in jessie-proposed iirc | 22:07 |
parazyd | deb http://auto.mirror.devuan.org/devuan jessie-proposed main | 22:08 |
parazyd | i haven't tried it yet | 22:08 |
freemangordon | parazyd: isn;t it too heavy for embedded? | 22:10 |
KotCzarny | i hate networkmanager (when it doesnt work) | 22:10 |
Enrico_Menotti | Ok, signs of life. The kernel boots, it seems, but gets panic. Unable to mount the rootfs. May it be just because it is ext4? | 22:10 |
freemangordon | Enrico_Menotti: no, this means you've passed wrong root= parameter | 22:11 |
parazyd | i don't know. i know it's nifty for users though. not sure how maemo does networking, but NM has vpn stuff, wifi and eth | 22:11 |
parazyd | and it usually broke less often than wicd in my experiences | 22:11 |
freemangordon | could be, but at least on ubuntu, the applet is FUBAR | 22:12 |
parazyd | Enrico_Menotti: you can also pass 'rootfstype=ext4' | 22:12 |
freemangordon | though it is canonical to be blamed here, no NM | 22:12 |
freemangordon | parazyd: no need | 22:12 |
freemangordon | iirc | 22:12 |
* freemangordon checks his n900 u-boot config | 22:13 | |
parazyd | freemangordon: i'm in love with netifrc (from openrc) | 22:13 |
parazyd | serves me pretty well | 22:13 |
Enrico_Menotti | freemangordon root=/dev/mmcblk1p2 | 22:13 |
Enrico_Menotti | Should be right. It's the ext4 partition. | 22:13 |
freemangordon | Enrico_Menotti: try with root=/dev/mmcblk0p2 rootwait | 22:14 |
Enrico_Menotti | I have also a rootdelay. | 22:14 |
freemangordon | Enrico_Menotti: sd card numbering differs in maemo compared to upstream kernel | 22:15 |
Enrico_Menotti | Ah that's the point so. | 22:15 |
freemangordon | mmcblk1 in maemo is mmcblk0 in upstream, iirc | 22:15 |
parazyd | ah so it IS the n900 doing that | 22:15 |
parazyd | i was wondering what board did it :D | 22:15 |
freemangordon | parazyd: maemo does it | 22:16 |
freemangordon | it is not the board or the kernel | 22:16 |
Enrico_Menotti | freemangordon There is also the mmcblk0 under maemo, which is the eMMC. Are they switched in Devian? | 22:16 |
parazyd | yes, that's what i meant | 22:16 |
parazyd | wrong choice of words | 22:16 |
freemangordon | Enrico_Menotti: yes | 22:16 |
freemangordon | iirc | 22:16 |
parazyd | Enrico_Menotti: *devuan, yes | 22:16 |
Sicelo | yes they are | 22:16 |
KotCzarny | its 'devUan' | 22:17 |
KotCzarny | not devian(t) | 22:17 |
freemangordon | Enrico_Menotti: if that root= does not work, try with no command line at all | 22:19 |
freemangordon | iirc the kernel should have the correct cmdline | 22:20 |
Enrico_Menotti | Sorry phone call. | 22:20 |
freemangordon | Enrico_Menotti: this is from the config used to build the kernel: | 22:20 |
Enrico_Menotti | Devuan, right, sorry. | 22:20 |
freemangordon | CONFIG_CMDLINE="root=/dev/mmcblk0p2 rw mtdoops.mtddev=log console=tty0 console=ttyO2 omapfb_vram=7M omapfb.mode=lcd:848x480-16 nokia-modem.pm=0" | 22:20 |
freemangordon | so, do not pass kernel command line at all | 22:21 |
*** xy2_ has quit IRC | 22:21 | |
Enrico_Menotti | Ok, let's try. | 22:22 |
parazyd | freemangordon: btw, if you have a sane kernel config for the n900, let me know. the current one lives here: https://github.com/dyne/arm-sdk/raw/next/boards/kernel-configs/n900.config | 22:23 |
parazyd | but it can be improved imo | 22:23 |
Wizzup | 21:10 < freemangordon> parazyd: isn;t it too heavy for embedded? | 22:25 |
Wizzup | I think it might not be | 22:25 |
Wizzup | I dpn't care about the politics, but I think networkmanager may be easy to adept for the n900, but maybe not. | 22:26 |
Wizzup | I figured we could take the nm-applet and modify it to fit our needs | 22:26 |
Wizzup | but wicd may be fine too... | 22:26 |
Wizzup | s/adept/change/ | 22:26 |
KotCzarny | isbt nm relying on some weird libs? | 22:27 |
Wizzup | well, let's get h-d on there first and then figure it out | 22:27 |
freemangordon | parazyd: well, https://github.com/dyne/arm-sdk/commit/7d9cc10223e07bf21b0370ae3fe3a043802b9b55 | 22:30 |
freemangordon | The sane n900 config I have is there | 22:30 |
freemangordon | it it almost the same as the one from Pali's repo | 22:30 |
parazyd | ah ok | 22:31 |
Enrico_Menotti | freemangordon I tried a few times, reading the output from the kernel. Right, the external sd card is mmcblk0, two partitions. If I don't specify a root=, it says "unable to mount unspecified rootfs" or something of this kind. If I specify the root=/dev/mmcblk0p2, it's still complaining he can't mount it. I will try with also rootfstype=ext4. | 22:31 |
parazyd | yeah in that one the watchdogs were modules | 22:31 |
parazyd | now they're in the kernel | 22:31 |
parazyd | other than that i don't remember changing anything | 22:31 |
parazyd | but ok, eventually we'll figure out if there's things that need to be added | 22:32 |
*** cyteen has joined #maemo | 22:40 | |
Enrico_Menotti | Ok, something more. I tried with "rootwait root=/dev/mmcblk0p2 rootfstype=ext4". This now ends with "Mount failed for sys/fs/selinux: no such file or directory". | 22:41 |
KotCzarny | wth are you booting? | 22:41 |
parazyd | O.o | 22:42 |
Enrico_Menotti | KotCzarny After some discussion about how to try booting a standard Linux distribution, I am trying to boot Devuan. | 22:43 |
Enrico_Menotti | Well, at least I know there is something wrong with the mainline kernel I built, since it does not give signs of life. This other one does... :) | 22:46 |
KotCzarny | why dont you use devuan kernel on your sdcard? | 22:46 |
Wizzup | Enrico_Menotti: If you want linux on your n900: 1) flash maemo, install cssu, install u-boot from maemo 2) dd the devuan image from parazyd to the sd card | 22:47 |
Wizzup | 3) profit, but you'll need to install xorg and others, and configure the touch screen | 22:47 |
Wizzup | I have some instructions on how to do that with xinput | 22:47 |
Wizzup | freemangordon: where should we document things, maemo wiki? | 22:47 |
Enrico_Menotti | I am trying to upload and boot by using the flasher. To this aim, I need to upload the kernel to RAM from the computer and boot it. The file system image on the other hand is on the sd card. | 22:48 |
Enrico_Menotti | Wizzup Yes, there has been a long discussion about how to test a new kernel. I'd try to upload it via flasher, instead of using u-boot. | 22:48 |
Wizzup | Enrico_Menotti: why would you do that? | 22:49 |
freemangordon | Wizzup: i guess yes, maemo wiki | 22:49 |
Enrico_Menotti | Wizzup It's just a preliminary test. I would like to test without flashing anything. | 22:50 |
freemangordon | Enrico_Menotti: does it complain about missing modules? | 22:50 |
freemangordon | as it is possible that zImage I provided does not match the contents of /lib/modules | 22:50 |
Enrico_Menotti | Don't know. The messages stay on the screen just for a while, without backlight. I am unable to read all. | 22:50 |
freemangordon | Enrico_Menotti: try to make zImage from Umiage | 22:51 |
freemangordon | *uImage | 22:51 |
freemangordon | Enrico_Menotti: or, just follow the instruction on https://github.com/dyne/arm-sdk to create your own zImage and kernel | 22:53 |
freemangordon | and devuan image | 22:53 |
Enrico_Menotti | Ok, a minute. I think I am missing something. I downloaded zImage and the Devian .img.xz file. Unpacked the latter and used dd to write it to sd card. I upload the zImage by flasher and booted it. | 22:53 |
parazyd | sidenote; it defaults to a uImage | 22:53 |
parazyd | freemangordon: should i include both zImage and uImage on the /boot partition perhaps? | 22:54 |
freemangordon | parazyd: but, there is zImage in the kernel build directory | 22:54 |
parazyd | yes there is | 22:54 |
freemangordon | Enrico_Menotti: what you did is correct | 22:54 |
Enrico_Menotti | There is also the lib.tar.gz. What about it? | 22:55 |
parazyd | that one corresponds to the zImage | 22:55 |
parazyd | you need it | 22:55 |
freemangordon | lemme check | 22:55 |
Enrico_Menotti | Yes, but how to use it? | 22:55 |
parazyd | extract it in the rootfs | 22:55 |
freemangordon | those modules match the uImage | 22:55 |
Enrico_Menotti | parazyd I cannot access the rootfs since it is ext4. | 22:56 |
parazyd | oh i might have something... | 22:56 |
freemangordon | and I think those modules should already be in the devuan image | 22:56 |
parazyd | freemangordon: if he downloaded my latest image, that's kernel 4.10 | 22:56 |
Wizzup | Enrico_Menotti: you can install u-boot and then test whatever you want from u-boot ;) | 22:57 |
Wizzup | freemangordon: btw, did you ever try to record anything with arecord on mainline? | 22:57 |
freemangordon | Enrico_Menotti: which image do you use? mine or parazyd's? | 22:57 |
Enrico_Menotti | Parazyd's. | 22:57 |
parazyd | then you need an according zImage | 22:58 |
freemangordon | well then, my zImage is linux 4.8, parazyd's devuan image is for linux 4.10 | 22:58 |
Enrico_Menotti | Ah ok. | 22:58 |
parazyd | you can get it from the uImage that's on the fat32 partition (mmcblkXp1) | 22:58 |
Enrico_Menotti | Ok, and convert it to zImage, right? | 22:58 |
freemangordon | parazyd: care to give the command to convert uImage to zImage? | 22:58 |
parazyd | if only... | 22:59 |
freemangordon | Enrico_Menotti: right | 22:59 |
parazyd | google shoudl know, i don't | 22:59 |
freemangordon | "bencoh: uimage -> zimage is a simple dd skip=64 bs=1" | 23:00 |
freemangordon | so it should be dd if=uImage of=zImage skip=64 bs=1 | 23:00 |
Enrico_Menotti | freemangordon Ok, thank you, I was unable to find it again. | 23:00 |
freemangordon | no idea if it works | 23:00 |
parazyd | i can pop a new build if needed, and give you a zImage | 23:01 |
freemangordon | let him first try with dd, it seems easy | 23:01 |
Enrico_Menotti | parazyd No need for now, thanks. | 23:01 |
parazyd | ok | 23:02 |
freemangordon | Enrico_Menotti: you may also try with my devuan image if you fail with parazyd's one | 23:02 |
* freemangordon is afk | 23:02 | |
Enrico_Menotti | Ok. I will try. | 23:02 |
*** lxp has joined #maemo | 23:08 | |
parazyd | Enrico_Menotti: any luck? | 23:10 |
Enrico_Menotti | A minute... | 23:11 |
parazyd | i started a 4.10 build | 23:11 |
parazyd | so i can give you the correct zImage in a few minutes | 23:11 |
Enrico_Menotti | No, the same mount failed for that file. | 23:12 |
Enrico_Menotti | "Mount failed for sys/fs/selinux: no such file or directory" | 23:14 |
Enrico_Menotti | No, wait, I've got a login!!! | 23:14 |
parazyd | :) | 23:14 |
Enrico_Menotti | parazyd Could you please tell me again user and pass? | 23:15 |
parazyd | root:toor | 23:15 |
Enrico_Menotti | Yes, it's working. But no backlight. | 23:16 |
parazyd | that's strange, should be on full | 23:16 |
parazyd | maybe it's some magic that u-boot does | 23:16 |
Enrico_Menotti | Anyway, now I'm sure my standard Linux kernel, the one I built, has something wrong. | 23:18 |
parazyd | https://pub.parazyd.cf/tmp/zImage | 23:18 |
parazyd | here's a zImage just built | 23:18 |
parazyd | but i think it's the same thing as what you have now | 23:18 |
Enrico_Menotti | Probably. Thank you anyway. | 23:19 |
Enrico_Menotti | I will try, at any rate. | 23:19 |
parazyd | https://github.com/dyne/arm-sdk/blob/next/boards/nokia-n900.sh#L78 | 23:19 |
parazyd | here's how the kernel is built | 23:19 |
*** cyphase has quit IRC | 23:25 | |
*** shentey has joined #maemo | 23:28 | |
Enrico_Menotti | Guys, I have a problem. | 23:31 |
*** pagurus has quit IRC | 23:31 | |
Enrico_Menotti | Seems my N900 doesn't go to update mode anymore. Maemo boots, however. | 23:32 |
Zungo | broken update mode? | 23:32 |
Sicelo | what's updated mode? | 23:32 |
Enrico_Menotti | I mean flash mode... the mode you go in if you press "u" and connect the usb. | 23:33 |
Enrico_Menotti | Also, if I just connect the usb without doing anything, it does not charge. It does if I press the power button and wait a while. | 23:34 |
parazyd | tried taking the battery out? | 23:35 |
Enrico_Menotti | No. I will try. | 23:35 |
*** cyphase has joined #maemo | 23:35 | |
parazyd | that usually helps | 23:35 |
Enrico_Menotti | In this case not, seems. | 23:36 |
Enrico_Menotti | Ok, I will say what I did. After booting Devuan, I entered the shell, and issued "poweroff". Maybe wrong thing? Should I have pressed the power button to turn it off? | 23:37 |
*** florian has joined #maemo | 23:39 | |
*** cyphase has quit IRC | 23:41 | |
Enrico_Menotti | Ok, I have been able to go again in flash mode. Pressing and holding "u" AND pressing and holding the power button. God knows what happened. I fear I will have to flash it again. :( | 23:42 |
*** cyphase has joined #maemo | 23:45 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!