libera/#maemo/ Sunday, 2021-05-02

thejsahey there! i've just got my first n900, reflashed with latest fremantle and installed cssu-thumb, but having issues trying to get u-boot installed to play with leste14:27
thejsait's complaining about the kernel-modules package, and if I try to install that it threatens to basically obliterate all the packages on my system, which sounds like a very bad idea; is there any way around this?14:28
KotCzarnyif it's fresh device, you can always reflash, no?14:30
KotCzarnybut most likely you are doing something wrong14:30
thejsayeah, could reflash again; was a bit of a pain dealing with VMs and such though14:31
thejsaI'm assuming there's some issue with the fact I'm trying to install u-boot after upgrading to cssu14:31
thejsareflash time it is then :p14:35
thejsathanks14:35
siceloWhat is the actual message you get?14:36
siceloIt's somewhat ok for u-boot to threaten to overwrite your existing kernel14:36
siceloBecause that's actually what it does ... sits in kernel area and loads a real kernel that you've defined.14:37
siceloI'd say install u-boot, and only reflash if there are issues14:37
thejsayeah; here it's saying there's an unmet dependency, kernel-modules, and refuses to continue (one second, I'll grab a pastebin link)14:38
thejsasources.list and apt output when trying to install u-boot flasher -- https://paste.debian.net/1196021/14:38
siceloBecause you are on thumb, after installing u-boot and u-boot-tools, ensure you set up the thumb kernel to boot by default. See the u-boot thread on talk.maemo.org for details.14:39
siceloMake sure you do this BEFORE you power off or reboot the device14:39
thejsathanks; main issue is not really sure how to even get u-boot installed at all14:40
thejsasince it seems I can't install u-boot-flasher without dealing with this kernel-modules issue, as installing kernel-modules as it requests would hose my system: https://paste.debian.net/1196022/14:42
siceloInstall the kernel and modules it wants :-)14:42
siceloThose should be thumb enabled, iirc14:42
thejsasomething seems wrong though since I don't think installing the kernel-modules package should usually threaten to remove pretty much every package on the system, including apt14:43
siceloIn any case, since you'll be setting up a default boot menu entry (as I mentioned), then you can still point that entry to the original kernel14:43
KotCzarnymaemo is just like that14:44
KotCzarnythere is single metapackage per release14:44
KotCzarnyis one of the packages that it depends on gets uninstalled, it takes the rest with it14:44
KotCzarnythat's why you should be cautious when hacking around with apt/dpkg\14:45
thejsayeah, reminded me of the ubuntu-desktop metapackages on ubuntu which had similar traits14:45
siceloShow the output which wants to remove everything14:46
thejsahere: https://paste.debian.net/1196022/14:46
siceloAlso, for Maemo Leste, you may want to join #maemo-leste14:46
siceloOkay that looks bad :-p14:47
thejsayeah hahaha14:47
siceloI forgot how to handle that one safely14:47
siceloThere was a way though ... but I haven't played with installing u-boot in a while now14:47
bencohhmm, lemme check what's installed on my phone14:48
siceloIf all fails, reflash to cssu (not thumb), install u-boot, then only afterwards go thumb14:51
bencohthejsa: http://pastebin.notk.org/pastebin.php?show=mc2cc6b15:02
bencohthat's cssu-stable (iirc) with a few additions though, not thumb15:02
PaliHello! Has somebody N8x0/770 device in hands? I would like to see first 2kB of kernel MTD partition...15:03
Paliit can be read (dumped to file header.bin) by following command on N8x0/770 device: nanddump --omitoob -s 0 -l 2048 -f header.bin /dev/mtd215:03
thejsasicelo: thanks! I think I'll go for a reflash as you suggested, probably easier and quicker than trying to untangle all this15:08
thejsabencoh: thanks for grabbing that, reflashing w/ stable now15:09
* enyc meows15:12
enycthejsa: hrrm not sru ewhat i did but   i can say u-boot-flasher  went ok15:13
enycthejsa: i would say I got kernel power for u-boot installed first15:13
enycinrluhing modules15:13
enycwhich presumuboly yo uhave to have for thumb to behave15:13
thejsainstalled kernel power for u-boot a lil while ago but didn't seem to make much difference15:13
thejsawell, to the u-boot situation anyway15:13
bencohhmm, KotCzarny used to build oscp for n8x0 as well, maybe he still has one around15:18
KotCzarnyunfortunatelly my n8x0 is at remote location16:20
KotCzarnyso i cant get to it16:20
KotCzarnybut maybe i have mtd dump somewhere16:20
KotCzarnyyup, got it, let me dd the block16:22
KotCzarnyhttps://mrrau.eu:20281/n800/n800-p2-2k.bin16:24
KotCzarnyhere you gu16:24
KotCzarny*go16:24
KotCzarnybut i dont remember what i used to dump it16:25
KotCzarnyit might have been done with dd and /dev/mtdblock16:26
PaliKotCzarny: thanks!17:22
Palican you "dd" also whole partition?17:22
Palijust to check if your kernel image in that partition has size 1530880 bytes17:27
Paliit is 1.45MB so seems plausible (below 2MB limit)17:27
Palinow I pushed lot of changes to https://github.com/pali/0xFFFF flasher and fiasco image unpacker/generator17:44
Palifeel free to test it! now it supports unpacking also /home partition from vanilla/mmc fiasco image17:45
Pali(yes, /home partition is included in vanilla/mmc image as tarball, not as ext3)17:45

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!