mwalle | larsc: nice gems you digging out :() | 14:36 |
---|---|---|
larsc | wie, wo, was? | 14:37 |
mwalle | be32_to_cpu(le32_to_cpu(*addr) | 14:39 |
mwalle | btw was that optimized to a pure load word? | 14:39 |
larsc | nope | 14:40 |
larsc | on big endian systems be32_to_cpu is a noop | 14:40 |
larsc | so we get the exact opposite of what we want. a le load | 14:40 |
larsc | my arch/lm32 folder is getting smaller every day :) | 14:46 |
mwalle | hehe | 14:46 |
mwalle | btw, have anyone successfully created an initramfs? | 14:47 |
lekernel | mwalle: btw do you have gcc patches to merge for bflt/fdpic? | 14:47 |
mwalle | merge? | 14:47 |
lekernel | yeah, you can simply use an ext2 image | 14:47 |
mwalle | an ext2 image is a initrd not an initramfs :) | 14:47 |
lekernel | did you have to modify things in gcc? | 14:48 |
mwalle | lekernel: two things, bugfix config.gcc and remove fdpic support (for now!) | 14:48 |
mwalle | mh and patch binutils to not generate fdpic binaries | 14:49 |
mwalle | if everything works, i'll post my patches and the elf2flt port | 14:49 |
mwalle | and the uclibc port | 14:50 |
lekernel | i'll try to become a lm32 maintainer (unless you or larsc wants to do it). seems to be the only way to get the lm32 stuff to move | 14:50 |
mwalle | feel free ;) | 14:50 |
lekernel | there isn't even an entry in the MAINTAINERS file for lm32... pft | 14:51 |
kristianpaul | are you maintaining own gcc vesion? can you put pathches in just one place so i can re-compile the gnu toolchain locally to be update with yours? | 14:52 |
mwalle | kristianpaul: there is nothing working yet :) | 14:52 |
kristianpaul | ah ok :-) | 14:52 |
kristianpaul | rtems repo should be okay then | 14:53 |
mwalle | the patches affect only linux btw | 14:53 |
kristianpaul | but linux stabillity gets better then? | 14:54 |
kristianpaul | what about libc? | 14:54 |
kristianpaul | "RTEMS toolchain RPMs do not have the divider and sign extended multilib for the libc" | 14:55 |
larsc | lekernel: if you become the new maintainer i expect you to fix all my problems :p | 15:18 |
lekernel | I probably won't, but at least you could get your patches merged in 24 hours, which is already a lot given the current situation | 15:19 |
kristianpaul | so... where is your repo? :-) | 15:30 |
mwalle | flat loading works, relocation too, but the first syscall of the user binary jumps to nowhere at the end | 18:01 |
larsc | at the end of the syscall? | 18:05 |
mwalle | yes | 18:05 |
mwalle | when it returns to userspace | 18:06 |
mwalle | it seems that i messed up the syscall handler | 18:06 |
mwalle | mh no, the ret in tty_ioctl jumps to nowhere | 18:10 |
larsc | nowhere = random address outside of the kernel image? | 18:25 |
mwalle | mhh i think qemu's syscall is broken | 18:28 |
larsc | the lm32 scall emulation? | 18:29 |
mwalle | doch nicht ;) | 18:31 |
mwalle | there are two syscalls one from inside the kernel (kernel_execv) which is working, followed by a syscall from the userspace | 18:34 |
mwalle | the latter swaps the stack | 18:35 |
mwalle | from user stack to kernel stack | 18:36 |
mwalle | gn8 | 18:41 |
--- Tue Jan 18 2011 | 00:00 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!