sicelo | I've just built linux 5.10 using omap2plus_defconfig and loading with with 0xFFFF -m kernel:zImage -l -b "rootwait root=/dev/mmcblk0p2 ro console=tty0 earlyprintk verbose debug." doesn't seem to be working :( | 21:46 |
---|
enyc | Wizzup: i belive, uses the kernel default rx51_defconfig , except oddly i can't see arch/arm/configs/rx51_defconfig in the n9xx-linux repo | 16:14 |
---|---|---|
Wizzup | https://github.com/maemo-leste/n9xx-linux/blob/pvr-wip-4.15.7/arch/arm/configs/rx51_defconfig | 16:17 |
Maxdamantus | mainline rx51_defconfig has =m | 16:23 |
Maxdamantus | actually, no rx51_defconfig in mainline .. using omap2plus_defconfig | 16:24 |
freemangordon | but iirc it is enabled by default in omap2plus_defconfig | 14:49 |
---|---|---|
freemangordon | enyc: https://github.com/maemo-leste/n9xx-linux/blob/pvr-wip/arch/arm/configs/rx51_defconfig#L498 | 14:50 |
Enrico_Menotti | First a general question about building the kernel: when I did that for Devuan, I learnt that the first thing to do is to call make against a "pre-cooked" config file, like make rx51-defconfig. Then one may simply invoke make to build kernel (+ modules), or call make against menuconfig, for tweaking the configuration, before actually building the kernel. | 22:22 |
---|
freemangordon | hmm, seems I have q8_a33_tablet_1024x600_defconfig :) | 22:31 |
---|---|---|
freemangordon | I can share that defconfig | 22:39 |
parazyd | this is a slightly modded sunxi_defconfig | 22:40 |
freemangordon | hmm, actually this is defconfig for u-boot | 22:42 |
bencoh | hmm ... why does he build mainline-4.10.8 configured with a 4.6-rc1 defconfig from pali's tree? | 16:01 |
---|---|---|
bencoh | something missing/broken in mainline defconfig maybe | 16:06 |
Maxdamantus | mainline doesn't have rx51_defconfig | 16:07 |
Enrico_Menotti | Maxdamantus bencoh The procedure of building mainline kernel with pali's defconfig was a suggestion by freemangordon, a few months ago. At that time, mainline stable kernel was 4.10.y. Now it is 4.12.y. | 16:16 |
Enrico_Menotti | The rx51_defconfig works fine, apart from the fact that it has the watchdogs in the modules, which, due to other facts, prevents the system from being stable (modules are loaded too late and the system reboots). So I modded the menuconfig in order to put the watchdogs in the kernel binary. | 16:18 |
Enrico_Menotti | bencoh I'm glad that wiki is useful for somebody. We found some errors there, though. I have written it after having had the system running, and forgot some details in the commands (the curl which downloads Pali's defconfig has an wrong target - there's just the path, the filename is missing - and the debootstrap command has a wrong url - a further folder needs to be specified in the path). | 16:24 |
Enrico_Menotti | Vajb Sure. Now on the Devuan pc, how did you download the rx51_defconfig? Did you use the curl with a different -o parameter (or -O) as I suggested, or again downloaded the rx51_defconfig and put that in the right folder manually? | 16:27 |
stryngs | Anyone at DEFCON this yr? | 04:41 |
---|
stryngs | Anyone here goin to DEFCON? | 07:54 |
---|
stryngs | Anyone here going to DEFCON this year? | 07:59 |
---|
Enrico_Menotti | I'm using mainline kernel with Pali's rx51_defconfig, modified to include the two watchdogs in the kernel and not as modules. | 15:04 |
---|
parazyd | Wizzup: ++, i don't see why it's not like that in rx51_defconfig | 00:47 |
---|
Enrico_Menotti | 3. I tried to install usbutils and run lsusb, but that fails. From some debugging, I found out that the system doesn't find usbfs. Is it possible that Pali's rx51_defconfig file does not enable usb support? | 18:17 |
---|
Enrico_Menotti | 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). | 01:44 |
---|---|---|
Enrico_Menotti | 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. | 01:45 |
Wizzup | that's really just cross compile setup, make bla_defconfig and go | 02:34 |
Enrico_Menotti | I am sure I used mainline kernel. rx51_defconfig from Pali's repository at github. Compiles, but doesn't boot. I didn't get how to use the n900.config from parazyd. Now I'll try cloning Pali's repository and using that. Maybe I'm doing something wrong in the build process. | 12:48 |
Enrico_Menotti | make rx51_defconfig and then make zImage (with or without the -j4 option). | 12:50 |
L29Ah | i mean, with rx51_defconfig | 19:46 |
---|---|---|
freemangordon | Enrico_Menotti: did you follow my advice and use rx51_defconfig from Pali's branch on github? | 19:46 |
freemangordon | seems you don;t get it - use rx51_defconfig from Pali's branch with upstream kernal | 19:48 |
freemangordon | just make sure to "make mrproper; make rx51_defconfig; make -j4 zImage" | 19:48 |
Enrico_Menotti | I got the make rx51_defconfig and make zImage. | 19:49 |
Enrico_Menotti | By the way, is there a way to download just the _defconfig file from github without cloning the whole repository? | 20:06 |
Enrico_Menotti | 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? | 20:37 |
parazyd | iirc the rx51_defconfig makes the watchdog(s) as modules so it tends to cause kernel panics | 21:12 |
freemangordon | Enrico_Menotti: anyway, you can;t boot omap2plus_defconfig build kernel iirc | 19:19 |
---|---|---|
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 |
Enrico_Menotti | freemangordon About the defconfig file, I will try, thanks. | 19:33 |
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 |
Pali | funny part is: arch/arm/configs/rx51_defconfig:# CONFIG_IP_NF_TARGET_IDLETIMER is not set | 01:07 |
---|---|---|
Pali | and: arch/arm/configs/n800_defconfig:CONFIG_IP_NF_TARGET_IDLETIMER=y | 01:08 |
jonwil | I think this DefCon video https://www.youtube.com/watch?v=1cgtr7VW7gY has some interesting ideas that might help us out | 10:52 |
---|
freemangordon | in sunxi_defconfig | 00:10 |
---|---|---|
Wizzup | I see no sun8i_defconfig | 00:23 |
Wizzup | will go for sunxi_defconfig and look at musb stuff | 00:24 |
Wizzup | freemangordon: right, so the q8 defconfig as on the wiki | 23:04 |
---|---|---|
Wizzup | and the kernel I guess is just v7defconfig, or sunxi defconfig? | 23:04 |
freemangordon | sunxi_defconfig | 23:04 |
freemangordon | not enable in sunxi_defconfig | 23:05 |
Wizzup | mainline kernel I presume. and for u-boot, I guess q8_a33_tablet_1024x600_defconfig | 23:06 |
freemangordon | Wizzup: "make CROSS_COMPILE=arm-linux-gnueabihf- q8_a33_tablet_1024x600_defconfig" | 23:07 |
parazyd | Wizzup: try sun8i_defconfig instead of sunxi_defconfig for the kernel then | 23:10 |
parazyd | i used rx51_defconfig and omap2plus_defconfig (just changed the cmdline to yours) | 11:09 |
---|---|---|
freemangordon | I am asking becuse I just build vanilla 4.8 wit rx51_defconfig and booted devuan to login | 15:05 |
freemangordon | parazyd: how to add rx51_defconfig to the sdk, besides copying it in kernel-configs dir? | 16:51 |
freemangordon | but now it seems kernel make doesn't like my rx51_defconfig, it seems it is not the .config it expects | 17:17 |
parazyd | copy n900.config to arch/arm/configs/rx51_defconfig and call it that way | 17:18 |
freemangordon | well, I copied it, did make rx51_defconfig and copied the resulted .config back to kernel-configs directory as n900.config. That should do the job, no? | 17:21 |
freemangordon | Pali: in omap2plus_defconfig, there is CONFIG_CPU_IDLE=y, but no CONFIG_ARM_CPUIDLE | 18:31 |
---|---|---|
freemangordon | the same for rx51_defconfig | 18:31 |
freemangordon | Pali: see omap2plus_defconfig | 12:13 |
---|
ceene | and is there a defconfig i can use? | 20:43 |
---|---|---|
Pali | rx51_defconfig | 20:44 |
bencoh | *** Can't find default configuration "arch/arm/configs/rx51_defconfig"! | 16:04 |
---|
freemangordon | I should ask the guy who maintain rx51_defconfig :p | 17:47 |
---|
freemangordon | also, having HW support upstreamed doesn't mean you cannot use device specific kernel - and that is what we use to boot upstream on N900, there is rx51_defconfig in arch/arm/configs, which enables only what is needed on N900 | 01:54 |
---|
sunshavi | the default nokia_2420_defconfig works properly | 04:56 |
---|
Wizzup | I will give 4.3 a try later, right now I wanted a decent defconfig and just to see if I can things to work | 21:21 |
---|
Maxdamantus | make defconfig_rx51 | 06:04 |
---|
Pali | so diff against rx51_defconfig | 20:13 |
---|
R0b0t1 | n900 dts got mainlined, yet there's no defconfig | 15:23 |
---|---|---|
KotCzarny | make rx51_defconfig | 15:25 |
Pali | MonkeyofDoom: you need to use rx51_defconfig AND you need to append DTS file to zImage | 22:36 |
---|
Wizzup_ | Likely pali has a defconfig? | 20:54 |
---|---|---|
Pali | defconfig of what? | 20:54 |
L29Ah | yeah, rx51_defconfig | 20:54 |
Wizzup_ | there is a defconfig for it | 20:56 |
ceene | if there's a defconfig then you obviously use it | 20:56 |
MonkeyofDoom | L29Ah: no kidding, but I don't believe there's a defconfig for the 4.1-rc4 branch | 20:57 |
Wizzup_ | omap2plus_defconfig possibly what you want | 21:00 |
Wizzup_ | Pali: defconfig for the mainline kernel to run on n900 | 21:01 |
Pali | rx51_defconfig in my repo | 21:01 |
MonkeyofDoom | Pali: i.e., https://github.com/pali/linux-n900/blob/v2.6.28-nokia/arch/arm/configs/rx51_defconfig? | 21:03 |
MonkeyofDoom | https://github.com/pali/linux-n900/tree/v4.1-rc4-n900/arch/arm/configs doesn't seem to have an rx51_defconfig | 21:04 |
Pali | https://github.com/pali/linux-n900/blob/v4.1-rc4-n900/arch/arm/configs/rx51_defconfig | 21:05 |
stryngs | So the defconfig is missing stuff =( | 17:23 |
---|
Pali | check kernel power defconfig | 23:15 |
---|---|---|
stryngs | kernel power defconfig doesn't work | 23:16 |
Pali | defconfig is kernel compile-time config file | 23:16 |
Pali | rx51_defconfig is filename in kernel-power source code | 23:20 |
Pali | then look into file kernel-power/arch/arm/configs/rx51_defconfig | 23:24 |
Pali | this is that defconfig file ^^^ | 23:24 |
freemangordon | Pali: BTW, did you merge my rx51_defconfig changes? | 21:04 |
---|---|---|
Pali | but it does not compile (when you enable it in defconfig) | 21:45 |
MonkeyofDoom | hi, does anyone know how to config the upstream kernel to target rx-51? omap2plus_defconfig seems like the wrong way to do it but all the N900-specific docs I see seem pretty dated | 04:19 |
---|
uhhimhere | bcm21664_hawaii_ss_kylepro_rev00_defconfig | 07:09 |
---|
100 matches in 2336 log files with 573143 lines (2.0 seconds).
Generated by irclogsearch.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!