2010-02-23 17:57:17 Compiling uClinux Help??
Carlos DuBose (UNITED STATES)
Message: 86404
I am pretty new to Linux OS and I am currently working on trying to compile uClinux and run it from usb. As I stated I am new to Linux but I have been doing a lot of research while trying to get this accomplished so if what I say is hard to understand please bare with me because I am trying to use the correct terms. I am running a live Knoppix CD version 2.6.xx and I am trying to compile a customized uClinux that is just comprised of a bash shell with supporting libraries that I need. Basically what I want to do is compile minimal based uClinux OS to where it is executable and can boot from usb. I want to be able to be able to change my boot options on my PC and load from the usb and when that happens, hopefully I will be left with a shell/terminal command prompt that I can run commands from. Eventually I will figure out how to add libraries such as things that will help me run java applications and anything else I may need. All I want is to have a image that executes some terminal/bash shell that I can edit and add libraries, drivers, or whatever is needed.
I have tried compling the uClinux kernel on the Knoppix Live CD that I have through step-by-step instructions on various sites but seem to still get stuck. I have even been to the uClinux documentation to try install the correct packages but even then I cannot update Knoppix with some of the required packages because of error messages. I have tried researching the errors but still just leads me to more errors. I tried to figure it out but at this point I think it is time to ask for help. I am a novice user and I am asking if anyone could shed some lite on my situation I would really appreciate it. Please if you have any suggestions, remarks, questions, anything please do so it would be greatly appreciated as I try to better my knowledge about Linux. Remember I am a beginner so I am sure any info wouldn't hurt. Thanks in advance.
QuoteReplyEditDelete
2010-02-23 19:17:54 Re: Compiling uClinux Help??
Mike Frysinger (UNITED STATES)
Message: 86409
what processor exactly are you trying to build things for ?
QuoteReplyEditDelete
2010-03-01 12:49:38 Re: Compiling uClinux Help??
Carlos DuBose (UNITED STATES)
Message: 86676
ADSP-BF561
QuoteReplyEditDelete
2010-03-01 12:52:16 Re: Compiling uClinux Help??
Mike Frysinger (UNITED STATES)
Message: 86677
if you dont want to install a real OS like Linux on your desktop, use coLinux under Windows. running off a livecd is going to require gigs of memory to hold everything.
QuoteReplyEditDelete
2010-03-01 14:25:38 Re: Compiling uClinux Help??
Carlos DuBose (UNITED STATES)
Message: 86678
I may be a liitle confused here because I am a beginner, but the problem is not whether I want to install a real Linux OS on my desktop. I am using the live Knoppix cd to create a small OS that consists of just a terminal shell that runs commands and includes libraries. I may be wrong but I thought you just had to compile a kernel and make the image file and then make that image bootable. Maybe my steps are wrong and that is what i am trying to figure out, how do I go about doing that. For instances i want to make the image bootable from a usb stick and then practice on working with the makefile to add and subtract different includes that I need and don't need. For example if I had the shell working and was able to be boot it from the usb and I wanted to run a java application, I want to learn how to find that library/includes, and add it, recompile it and then be able to run that jave application. Once I am comfortable playing with that and customizing the OS for our system, them I will work on booting it from flash on the ADSP-BF561.
QuoteReplyEditDelete
2010-03-01 14:32:57 Re: Compiling uClinux Help??
Mike Frysinger (UNITED STATES)
Message: 86679
we arent here to help you test things on your desktop or create usb bootable images. we'll help you get things running on a Blackfin part only.
what you're doing is way more complicated than needed. forget about livecds as they dont have the resources to unpack all of the source and binaries and compile things. either install a real Linux OS (dual boot) or install CoLinux.
then read the documentation:
docs.blackfin.uclinux.org/doku.php?id=installing_linux
docs.blackfin.uclinux.org/doku.php?id=toolchain:installing
docs.blackfin.uclinux.org/doku.php?id=uclinux_on_blackfin
QuoteReplyEditDelete
2010-03-01 14:49:09 Re: Compiling uClinux Help??
Carlos DuBose (UNITED STATES)
Message: 86683
Thanks for the help and your time I really appreciate it. That seems like some good information to know and start from so thanks, I hope all is well.