**** BEGIN LOGGING AT Fri Apr 07 03:00:01 2017 Apr 07 05:33:21 * DocScrutinizer05 frowns at that freedesktop crap Apr 07 05:37:55 jr@saturn:~/mymaemo-workdir/maemo-my-private-workdir> echo $XD Apr 07 05:37:57 $XDG_CONFIG_DIRS $XDG_DATA_DIRS $XDG_SEAT $XDG_SESSION_ID $XDM_MANAGED Apr 07 05:37:58 $XDG_CURRENT_DESKTOP $XDG_RUNTIME_DIR $XDG_SESSION_COOKIE $XDG_VTNR Apr 07 05:55:52 http://termbin.com/bofq /etc/profile.d/xdg-environment.sh Apr 07 05:56:01 freemangordon: ^^^ Apr 07 06:00:42 http://paste.opensuse.org/16229250 Apr 07 06:04:06 http://paste.opensuse.org/57837486 Apr 07 09:17:51 hi Apr 07 13:45:02 after all... unity must die. https://insights.ubuntu.com/2017/04/05/growing-ubuntu-for-cloud-and-iot-rather-than-phone-and-convergence/ Apr 07 14:08:26 https://arstechnica.com/security/2017/04/rash-of-in-the-wild-attacks-permanently-destroys-poorly-secured-iot-devices/ https://it.slashdot.org/story/17/04/06/2016205/new-destructive-malware-intentionally-bricks-iot-devices?utm_source=rss1.0mainlinkanon Apr 07 16:44:30 A few days ago, thanks to many persons here, I've been able to boot Devuan on the N900. Now I'm trying to compile my own Linux kernel. The build process runs fine, but when I upload and boot the zImage I get no messages from the kernel, and eventually the N900 reboots. How to have some verbosity from the kernel, just to check whether something happens? Apr 07 16:45:53 Enrico_Menotti: the only way is to use serial interface Apr 07 16:46:27 But the Devuan kernel says something while it boots, before mounting the file system. Apr 07 16:46:33 when i tried to run Pali's kernel it provided dmesg to the display by default Apr 07 16:46:45 i mean, with rx51_defconfig Apr 07 16:46:51 Enrico_Menotti: did you follow my advice and use rx51_defconfig from Pali's branch on github? Apr 07 16:47:39 freemangordon Sorry I already had the mainline kernel. In fact I was thinking about trying with Pali's. Apr 07 16:47:49 I will do. Apr 07 16:48:16 seems you don;t get it - use rx51_defconfig from Pali's branch with upstream kernal Apr 07 16:48:23 *kernel Apr 07 16:48:33 Ok, yes, that's also an option - I was thinking of that too. Apr 07 16:48:45 I'll try in a while. Apr 07 16:48:57 just make sure to "make mrproper; make rx51_defconfig; make -j4 zImage" Apr 07 16:49:24 I don't get the first of these three commands. Apr 07 16:49:31 hehe Apr 07 16:49:46 you know Mr Proper? Apr 07 16:49:51 I got the make rx51_defconfig and make zImage. Apr 07 16:49:52 No? Apr 07 16:50:17 ? Apr 07 16:50:25 ~mrproper Apr 07 16:50:27 hmm Apr 07 16:50:55 OMG, seems they've renamed it Apr 07 16:51:00 Enrico_Menotti: https://en.wikipedia.org/wiki/Mr._Clean Apr 07 16:51:28 Enrico_Menotti: "make mrproper" on kernel is something like "make clean" Apr 07 16:51:37 Mastro Lindo. Apr 07 16:51:43 In Italian. Apr 07 16:52:31 So is the command actually "make mrproper" ?!? Apr 07 16:52:35 yes Apr 07 16:52:39 :) Apr 07 16:53:17 Enrico_Menotti: http://www.linuxquestions.org/questions/slackware-14/difference-between-make-mrproper-and-make-clean-473144/ Apr 07 16:54:11 Enrico_Menotti: make mrproper to ensure there are no remnants from your old .config Apr 07 16:55:18 Ok, I read it. Make clean deletes build products. Make mrproper also .config files. Right? Apr 07 16:55:27 yes Apr 07 16:55:52 I'd have also a question about modules. On the N900 page on eLinux, there are commands for building modules as well. But I don't understand the make install_modules. Apr 07 16:56:24 Enrico_Menotti: to make modules you issue "make -j4 modules" Apr 07 16:56:49 installing is a bit trickie as you don;t want them installed on your build pc /lib Apr 07 16:56:54 http://elinux.org/N900 says also make INSTALL_MOD_PATH=/mnt/target modules_install. Apr 07 16:57:03 I don't get this comand. Apr 07 16:57:09 *command Apr 07 16:57:41 the commane is "make modules_install", INSTALL_MOD_PATH tells *WHERE* to install those .ko files Apr 07 16:57:46 *the command Apr 07 16:58:15 Enrico_Menotti: anyway, you'd better have working zImage first Apr 07 16:58:27 and the start playing wiith modules Apr 07 16:58:30 *with Apr 07 16:59:11 But is it possible to boot the file system without modules? Or should I just get some messages from the zImage? Apr 07 17:05:52 yes, it is possible, but devices with drivers not compiled in the kernel won't work Apr 07 17:06:23 By the way, is there a way to download just the _defconfig file from github without cloning the whole repository? Apr 07 17:29:43 Ok, I got it. Not very intuitive, but I got it. Namely: went to the raw file, copied the url, and used curl to download. Apr 07 17:30:04 mhm Apr 07 17:30:59 Something wrong? Apr 07 17:31:28 no, on the opposite Apr 07 17:37:01 Ok, I made the rx51_defconfig. Had a look at the make menuconfig - seems similar to what I already used, but of course I don't get all the details. Now I have one last doubt before building the zImage: is it correct to use the armhf cross-compiler? Apr 07 17:48:03 yes Apr 07 17:51:22 Ok, thanks. I'll build now. Apr 07 18:07:39 freemangordon, Wizzup: just wanted to update. my work on amprolla is progressing nicely. devuan opted for my version to be the one running in devuan's production so that will require more days of work. so instead of finishing it next week, i'll probably need an additional week or so because of being busy on other sides Apr 07 18:08:26 Wizzup: also, when i have the workflow set up, i can let you in on the details if you're willing to put some short time into it. it's actually very simple stuff, just a tad time consuming Apr 07 18:10:12 i'm doing some hits and misses because of my lack of understanding of the whole repo hierarchy, but i think i finally got it Apr 07 18:11:39 Enrico_Menotti: see https://github.com/dyne/arm-sdk/raw/next/boards/kernel-configs/n900.config Apr 07 18:12:04 iirc the rx51_defconfig makes the watchdog(s) as modules so it tends to cause kernel panics Apr 07 18:13:44 sweet Apr 07 22:44:06 Ok, I realised I wasn't really using mainline kernel, but a particular branch devoted to the N900, on kernel.org. This didn't work with the rx51_defconfig (I could compile, but the zImage did not boot). Apr 07 22:45:42 So now I cloned the stable kernel, and checked out Linux-4.10.8. I tried to make both the n900.config and the omap2plus_defconfig, but neither works: I get Makefile:539: arch/arm/Makefile: No such file or directory. Apr 07 22:46:13 So seems there is no Makefile for arm?!? Apr 07 23:00:23 why dont just use pali's tree? Apr 07 23:10:01 No particular reason. I just thought I could try with mainline, since it seems there is now support for the N900. Apr 07 23:10:36 In any case, I think there has been something wrong in my checkout command. It didn't check out all files, I think. Apr 07 23:24:04 Enrico_Menotti: are you compiling on arm? Apr 07 23:24:19 cross compilers? build tools installed? etc Apr 07 23:25:06 The issue I get now seems to be related to git. I don't get what happens in a particular situation I'm dealing with. Apr 07 23:25:11 Let me explain. Apr 07 23:26:14 I am compiling on a PC (Intel based) running Debian. It's an old laptop, so memory is limited, speed is limited, Internet access also,... Apr 07 23:26:29 So I cloned the .git repository on my Mac, which was easy. Apr 07 23:27:05 Then I checked out files to a different directory from the one where I cloned the repository, just to separate them from the archives. Apr 07 23:27:40 This made me able to compress just the needed files (the ones for the branch I am considering) in order to transfer them quickly to the other computer. Apr 07 23:27:55 Probably in the process of checking out I missed something. Apr 07 23:28:47 In particular, I am following what is explained here: http://stackoverflow.com/questions/4479960/git-checkout-to-a-specific-folder. Apr 07 23:28:50 This might not be the easiest/best task to start withl Apr 07 23:29:02 I think the devuan img contains mainline, does it not? Apr 07 23:30:14 The Devuan image seems to come from mainline kernel, yes. Apr 07 23:30:27 But I have already been able to boot that one. Now I wanted to compile my own kernel. Apr 07 23:33:07 Have you ever done that before? Apr 07 23:33:40 If you're going to cross compile a kernel, which this seems like, it might not be the best first step. Sorry if I am making the wrong assumptions. Apr 07 23:33:54 I have been able to compile and boot Android's kernel for the emulator. Apr 07 23:33:58 I see Apr 07 23:34:04 In my experience the painful part is forgetting certain modules - like the platform watchdog - not so much the kernel compile Apr 07 23:34:14 that's really just cross compile setup, make bla_defconfig and go Apr 07 23:35:17 For a moment, I'd like to understand what happened with git. I tried "git --work-tree= checkout ". This checked out only part of the files. Why? Apr 07 23:36:58 And on the answer I linked at (stackoverflow), the command is "git --work-tree=... checkout ... -- .". Why is the period at the end needed? Apr 07 23:37:35 If you're trying to check out a tag, simply issuing 'git checkout ' should be enough in simple cases. Apr 07 23:38:01 I am not sure why you're using --work-tree instead of just git from the dir, but that's fine I guess Apr 07 23:38:15 Only the files that are tracked will be checked out. Apr 07 23:38:22 time to sleep. Apr 07 23:39:34 Ok, good night. I should go to sleep as well. **** ENDING LOGGING AT Sat Apr 08 03:00:02 2017