This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - schuhumi
Pages: [1]
2
« on: April 18, 2015, 03:07:56 pm »
Uname says 4.0.0-rc7-next-20150410, but my usb thumbkeys won't work for some reason. lsusb ends without any output, no reaction on dmesg and no new device in /dev either.. (doesn't matter whether I connect otg before or after linux boot) I started a new kernel build with some more options activated, but there was no obvious USB-related option missing. Are you using a CX or classic?
CX Edit: http://tiplanet.org/nspire-linux-builds/devicetree/zImage_expanded_20150418_1650.tns
I can't guarantee that my otg adapter works (a little wonky construction), but it did with the old kernel and when pluggin it in while in Nspire OS it complains properly about a device connected it can't handle That's a good sign that it's at least enumerating properly,
Yeah. Additionally to make absolutely sure the otg adapter works, I put the old kernel on it again -> otg works flawlessly so it should leave a linux syslog message.
Both for otg connected before and after Linux boot. (only difference in that regard is, that the usb key's led is off when connected before boot, and on when connected after boot). What commands could give more useful information about the issue? One thing your new build solved though: Before the display got spammed with these (~1/sec): cfg80211: Calling CRDA to update world regulatory domain Now it gives up with this by the time it finishes booting: cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
3
« on: April 17, 2015, 05:46:38 pm »
Mhmm.. Has anyone got usb working with the builds from http://tiplanet.org/nspire-linux-builds ? Uname says 4.0.0-rc7-next-20150410, but my usb thumbkeys won't work for some reason. lsusb ends without any output, no reaction on dmesg and no new device in /dev either.. (doesn't matter whether I connect otg before or after linux boot) I can't guarantee that my otg adapter works (a little wonky construction), but it did with the old kernel and when pluggin it in while in Nspire OS it complains properly about a device connected it can't handle lsmod end with "/proc/modules: No such file or directory"
4
« on: April 06, 2015, 08:07:41 pm »
I built a kernel using the fairly old config and modified it a bit so it should work with systemd. Highly untested, might work just fine or ignite your calc. Download
Well, it bootet without any smoke or flames Actually without any issues at all uname -a says 4.0.0-rc6, but tangrs states that his code will land in 4.1-rc1 (accordingly I couldn't get any usb action either). But it's nice to see the calculator running the newest kernel of all my linux devices (plenty) I'm not sure where tangrs' code is right now, but I guess in linux-next. Not certain how adventureous it is to build from that though
5
« on: April 06, 2015, 04:20:14 am »
If anyone wants a kernel build, I can make one when I have time.
If you happen to do so, could you enable cgroups please (Arch won't boot without it, but I reckon it would be nice on the nspire: Small, clean base to start from, fast package manager, prebuilt rootfs on archlinuxarm.org) Also thought about doing it, but tangrs github repo is only legacy code. (and frankly I'm short on spare time right now ) Where would you take the code from, linux-next? Is https://tiplanet.org/nspire-linux-builds/ updated?
I don't think so, at least with dtb version downloaded two days ago usb was still broken.
6
« on: April 04, 2015, 07:32:00 am »
Yep, it should work out of the box in the next major release 4.1-rc1 onwards.
Wondered how linux on nspire is doing after a year of not looking into it, and just found this.... Awesome!! Hopefully nothing more will prevent Arch Linux from booting then
7
« on: February 23, 2014, 05:24:22 pm »
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usbhid usbhid: USB HID core driver
I get the same + three additional ones (with the fresh downloaded kernel,initramfs,dtb): usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb
8
« on: February 23, 2014, 05:04:26 pm »
My typical procedere: - Switch on Calc - Install ndless - plug in USB-Cable - Press OK on the popup-window - start linuxloader
I did: - start my kernel+dtb -> no usb - start your kernel+dtb -> no usb - dig around in menuconfig -> make changes #1 #2 mentioned above - start my kernel+dtb -> still no usb -> lsusb shows nothing (no error etc.)
I'll redownload your kernel+dtb again and try again..
BTW: your xconfig-download gives me: Forbidden You don't have permission to access /nspire-linux-builds/xconfig-latest.tar.bz2 on this server.
--- preview spits out new posts: dmesg | grep ehci ehci_hcd: USB 2.0 'Enhanced' Host Contgroller (EHCI) Driver ehci-platform: EHCI generic platform deriver
But on my kernel (!), will try yours now..
9
« on: February 23, 2014, 04:49:12 pm »
Could you try the new xconfig image? I switched from Xorg to KDrive/TinyX (or whatever it's called in buildroot) and everything should work fine.
Actually I can't... I have trouble getting USB to work This means the OS doesn't recognize keyboard and usb-flashdrive. (But its not a hardware fault, tested it again with the old kernel). Went through menuconfig, the only suspicious things I found are: #1 > Device Drivers > USB support > [* ] Rely on OTG Targeted Peripherals List If you say Y here, the "otg_whitelist.h" file will be used as a │ product whitelist, so USB peripherals not listed there will be │ rejected during enumeration. #2 [ ] > Device Drivers > USB support > [ ] Generic EHCI driver for a platform device is not activated, but it is in here https://github.com/Vogtinator/nspire-linux-configs/blob/master/kernel/.config(used this to find a needed driver or something...) But even with diabling #1 and enabling #2 it won't work
10
« on: February 23, 2014, 02:54:45 pm »
YESSS!! Your builds as well as my self compiled kernel+DTB work! (I have to admit that this entire devicetree-thing wasn't clear to me and I asumed I can use the kernel in the same way as the old ones on your download-page...) Now I can go on and customize the kernel to my needs Thank you very much! Use this script to set up a toolchain.
I guess you refer to my path-hack above: Thats on my Ubuntu-Laptop and I had CodeSourcery installed on that some time ago. Normally I have an Arch-Server with two quadcore Xeon processors and 16GB Ram for compiling things ;-) With a well integrated toolchain of course
11
« on: February 23, 2014, 02:08:31 pm »
I'm sorry to bother you guys again, but it just won't work for gods sake Here's exactly what I did: $ PATH=$PATH+":/opt/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/" $ wget https://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-3.14-rc2.tar.xz $ unp linux-3.14-rc2.tar.xz <extracting without errors> $ cd linux-3.14-rc2/ $ cp ~/Downloads/config ./.config #This is your uploaded .config, verified it multiple times $ export ARCH=arm $ export CROSS_COMPILE=arm-none-eabi- $ make silentoldconfig < ran through without a single error or question > $ make -j2 ...... Kernel: arch/arm/boot/zImage is ready $ ls -l arch/arm/boot/zImage -rwxrwxr-x 1 simon simon 1504096 Feb 23 19:28 arch/arm/boot/zImage #size comparison with prebuilt ones: small: 1753152 large: 1936000 And no kernel messages again... Both prebuilt zImages from here http://tiplanet.org/nspire-linux-builds/ boot as expected. (ok, the small one crashes midways with initrd, but hey - kernel messages )
12
« on: February 23, 2014, 10:15:48 am »
Thank you for your response Legimet But sadly I still can't figure it out... Here's what I did: Downloaded linux-3.8-rc4.tar.xz from https://www.kernel.org/pub/linux/kernel/v3.x/testing/ since this is the version used here https://raw.github.com/Vogtinator/nspire-linux-configs/master/kernel/.configBut it seems like there is nothing related to nspire in this source ("/" to search in menuconfig returns no results for "nspire") So I downloaded last stable one from here https://www.kernel.org/ (3.13.5) and I've come so far: [simon@XeonArch Nspire]$ unp linux-3.13.5.tar.xz ... extracting files from archive ... [simon@XeonArch Nspire]$ cd linux-3.13.5/ [simon@XeonArch linux-3.13.5]$ make distclean; make mrproper [simon@XeonArch linux-3.13.5]$ export ARCH=arm [simon@XeonArch linux-3.13.5]$ export CROSS_COMPILE=arm-none-eabi- [simon@XeonArch linux-3.13.5]$ make menuconfig -> System Type -> Multiple platform selection -> disable ARMv7 and ARMv5 gets selected automatically -> System Type -> enable [*] TI-NSPIRE based -> Device Drivers -> Input device support -> Keyboards -> enable TI-NSPIRE built-in keyboard (NEW) -> < Save > as .config [simon@XeonArch:linux-3.13.5]$ make -j8 ..... Kernel: arch/arm/boot/zImage is ready
Booting this kernel I still get no messages on the screen. I need graphics-support somehow I guess.. So I tried to use the .config here https://raw.github.com/Vogtinator/nspire-linux-configs/master/kernel/.config[simon@XeonArch:linux-3.13.5]$ make distclean; make mrproper ... [simon@XeonArch:linux-3.13.5]$ export CROSS_COMPILE=arm-none-eabi- [simon@XeonArch:linux-3.13.5]$ export ARCH=arm [simon@XeonArch:linux-3.13.5]$ wget https://raw.github.com/Vogtinator/nspire-linux-configs/master/kernel/.config ... [simon@XeonArch:linux-3.13.5]$ make silentoldconfig scripts/kconfig/conf --silentoldconfig Kconfig * * Restart config... * * * General setup * Cross-compiler tool prefix (CROSS_COMPILE) [arm-none-eabi-] arm-none-eabi- Compile also drivers which will not load .... BLABLABLA ... ARMv6 based platforms (ARM11) (ARCH_MULTI_V6) [N/y] (NEW) ARMv7 based platforms (Cortex-A, PJ4, Scorpion, Krait) (ARCH_MULTI_V7) [Y/n] (NEW) As you can see the default for ARMv6 is No, but ARMv7 is Yes, which is wrong. You need to select No yourself to bring up ARMv5: "ARMv5 based platforms (ARM926T, XSCALE, PJ1, ...) (ARCH_MULTI_V5) [Y] (NEW) y". So converting the .conf from github doesn't work as intended.. I'm not that keen on compiling kernels, OpenWRTs Buildroot is the only thing I really dived into, but my devices were properly preconfigured there... clueless schuhumi
13
« on: February 22, 2014, 05:31:13 pm »
I'm from Germany and was infected by the calc-virus in 7th grade when we needed a TI-82 STATS for school. I was very keen on TI-Basic, even remembered almost all entry-numbers of the program- and draw menus.. I wrote lots of programs, for cheating as well as for fun. Very simple ones like chat-programs (or TicTacToe against calc http://www.ticalc.org/pub/83/basic/games/strategy/tictactoe.zip) but also things like something cad'ish where you could build 3d objects from lines and then rotate, zoom and move them (sadly lost the code)). After school I did an apprenticeship as an electrician for systems and devices (basicly most advanced electrician apprenticeship), but no graphical/programable calcs were allowed so I had to stick with some low level casio-garbage Thus (plus the fact that I lost my Link-Cable somehow) the TI-82 didn't gain much interest anymore and I forgot just about everything over the years... Then, a few months ago, I saw a video of a nspire running Linux. And a few days later someone sold his nearly unused TI nspire CX CAS for 100 euros in a forum I check regularly. So now I have a calculator running Linux which is insanely cool Only thing that bothers me is that it seems like I'm to dumb to compile a working Linux-kernel for nspire ( http://ourl.ca/17131;msg=322933) and thats the reason for my todays registration Greetings schuhumi
14
« on: February 22, 2014, 02:50:46 pm »
Hello I'm new here and a big fan of Linux. I got it to boot with initrd as well as from usb flawlessly. Now I want to boot into ArchLinux: This is why I need to build the kernel myself, but it won't work for some reason... What I did: Downloaded this https://github.com/tangrs/linux (branch: nspire) export ARCH=arm make nspire_defconfig make -j8 no errors -> copied it to the calculator and tried to boot with initrd -> stuck at the linuxloader2-screen without a single kernel-message Second attempt: rm .config make distclean export ARCH=arm wget https://raw.github.com/Vogtinator/nspire-linux-configs/master/kernel/.configmake -j8 no errors -> stuck again at the same point Can someone help me please? thanks in advance schuhumi PS: stole the distclean from here: http://tiplanet.org/nspire-linux-builds/log_expanded_20130211_0728.txt Sadly I can't find the build-script producing it...
Pages: [1]
|