--- Log opened Wed Nov 20 00:00:33 2013 | ||
hikenboot | poke53281, I have done a make fetchtoolchain...it seems to go smoothly but when I try and execute make checktoolchain or skip make checktoolchain and go on to make toolchain it failes with make: *** No rule to make target 'checktoolchain'. Stop | 03:15 |
---|---|---|
hikenboot | I installed build-essential and make | 03:15 |
hikenboot | also gcc is installed and its ubuntu | 03:16 |
hikenboot | ubuntu latest stable | 03:16 |
poke53281 | I have looked up the source and it seems that I removed the checktoolchain code. It was no longer important. The readme is outdated. | 03:23 |
poke53281 | Go on with "make newlib_toolchain" or make "uclibc_toolchain" | 03:24 |
poke53281 | Please take a look at scripts/toolchain.make and try to understand what the the command is doing. | 03:25 |
poke53281 | The part should be almost equivalent to http://opencores.org/or1k/OpenRISC_GNU_tool_chain#Installation_of_development_versions | 03:26 |
poke53281 | I have removed the "checktoolchain" from the readme file. | 03:29 |
hikenboot | can you give me the location of the latest or1k-toolchain.tar.bz2? | 03:31 |
hikenboot | bb soon | 03:33 |
kamyar | hello OR! | 07:17 |
poke53281 | hikenboot: www.simulationcorner.net/or1k-toolchain.tar.bz2 | 07:24 |
ysangkok | poke53281: i was wondering if you found out if the kernel i built wwas ok? thanks | 10:27 |
stekern | ah, some comments on the ocfb driver | 15:56 |
hikenboot | hello poke53281, getting cdscr/or1ksim; git apply patches/ 002-Enable-direct-access-to-ata-devices.patch.txt fatal can't open patch 'patches/' No such file or directory Make: *** [or1ksim] Error 128 | 18:06 |
poke53281 | hikenboot: Easy solvable. Open scripts/native.make and remove the space between "patches/" and "0002-Enable-direct".... | 18:10 |
hikenboot | poke53281, thanks I thought the file was missing totally or i would have tried that. for some reason my find / -iname 002-Enable* didn't even locate the file | 18:13 |
poke53281 | Nice, that you already try to understand the script files. "make or1ksim" is not written there. | 18:13 |
poke53281 | "make or1ksim" is not written in the readme.md file | 18:14 |
hikenboot | do you know why my command wouldnt find the file? | 18:14 |
hikenboot | not succeeding totally but its not for lack of trying... | 18:15 |
poke53281 | try git apply ../../patches/ | 18:15 |
poke53281 | and remove the .txt | 18:18 |
hikenboot | only problem is I am not sure I am doing the commands in the right order | 18:18 |
hikenboot | I will right out my commands that got it right once I have finished | 18:18 |
poke53281 | the native stuff is independent. | 18:18 |
poke53281 | cd src/or1ksim; git apply ../../patches/0002-Enable-direct-access-to-ata-devices.patch | 18:19 |
poke53281 | Three errors in one line. Obviously I implemented the line and never tested it | 18:20 |
hikenboot | by the way a lot of the errors I initially encountered were fixed by downloading the correct version of the bz2 file initially | 18:21 |
poke53281 | Normally you should follow the readme.md . And if you get a dependency error you should try "make missing_progam_name" | 18:21 |
poke53281 | Ok, nice to hear | 18:21 |
poke53281 | In principle the make script should be able to figure the dependencies itself. But I don't want to build a whole distribution. The better way would be to fix the issues in the toolchain and then jump to a already existing distribution in which all the small little problems are solved. | 18:23 |
poke53281 | But this will take at least an additional year. | 18:24 |
hikenboot | on saucy had to do a apt-get build-dep gcc-4 to get gcc to compile right as well for others references | 18:24 |
hikenboot | sorry apt-get build-dep gcc-4.8 | 18:25 |
poke53281 | Yes, I know. The development stuff is in independent packages on Debian based systems. One reason I don't like it as developer. | 18:25 |
hikenboot | interesting do which distribution do you like for development? opensuse? | 18:26 |
poke53281 | Gentoo or archlinux. | 18:27 |
poke53281 | But in the end it is just experience. You can do the same stuff in Debian. | 18:29 |
hikenboot | well once upon a time I followed the LFS 2.0 directions to get some stuff done, but I ran out of time with what I was trying to accomplish it and haven't done anthing but admin work since | 18:30 |
poke53281 | Hehe, yes, this is a real problem. LFS is of course not a good distribution if you want to work with it. It is only for learning purposes. | 18:31 |
poke53281 | But Debian is too conservative for me. They use complete outdated packages only to be as stable as possible. | 18:32 |
hikenboot | actually I believe the command is supposed to be ../patches/0002-Enable-direct-access-to-ata-devices.patch since the srcript is already in the script directory? Yes? No? | 18:32 |
poke53281 | You forget the first command "cd src/or1ksim;" | 18:33 |
poke53281 | The base is directory is that where you start make | 18:34 |
hikenboot | your absolutely right..not sure where I screwed up the first time I looked at it...thanks | 18:37 |
hikenboot | why is the qemu_VERSION stuff commented out? | 18:38 |
hikenboot | in native.make | 18:39 |
poke53281 | Probably because it didn't work like this. But I don't see a reason why not. | 18:42 |
poke53281 | Qemu is also provided by your distribution. | 18:42 |
poke53281 | sudo apt-get install QEMU | 18:42 |
poke53281 | or something similar. | 18:43 |
hikenboot | ok | 18:43 |
poke53281 | "make or1ksim" needs root rights for make install. | 18:43 |
hikenboot | I guess for administration (my likes for debian might not be the best for dev..since with dev you want bleading edge..for admin though a stable system is where its at | 18:46 |
poke53281 | Yes, a good example is indeed compiling QEMU under Debian. | 18:47 |
poke53281 | It is hard. It needs newer libraries which are not in the repository. | 18:47 |
poke53281 | With archlinux the compilation process was done within 10 minutes. Under Debian I struggled 2-3 hours until I could compile it. | 18:49 |
hikenboot | poke53281, please correct me if I am wrong but the line in the make file reads ...Enable-direct-access-to-ata-devices.patch.txt shouldnt it read ..Enable...to-ata-devices.patch with not patch.txt? or should there be a file that says .txt that contains the proper command? | 19:00 |
hikenboot | never mind | 19:00 |
hikenboot | you saw that I missed it | 19:00 |
poke53281 | ysangkok: Have tried your kernel and could reproduce the problem. | 19:08 |
poke53281 | ysangkok: Can you post your or1ksim.dts file? Because there seems to be some access at 0x9e000078 which should not be there. | 19:11 |
poke53281 | Probably there is another device which is not supported by jor1k. | 19:12 |
--- Log closed Thu Nov 21 00:00:34 2013 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!