I am faced with the possibility of using an ARM-based board from Embest, a Chinese company, for an embedded linux job, and I don't know if I can proceed. The board is the SBC2410II, if you are interested.
Ideally, the board manufacturer would be the source of my help, but they have been totally unresponsive to my queries, and for reasons that are irrelevant to my question, I may have to figure this out without any further help from them. Also, I am relatively new to linux, so maybe the fault is my inexperience. Anyway, here is how far I've gotten.
The board comes from Embest with linux pre-flashed, including a file system. The linux console presents itself on a serial port. The manufacturer supplies a CD with some minimal documentation on loading an adapted ARM version of gcc into my desktop linux, which I have done. Using these supplied tools, I was able to cross-compile the "hello, world" console program on my desktop linux, move it to a flash memory stick, plug the memory stick into a USB host port on the embedded board, mount the memory stick from the linux console on the embedded board, copy the compiled hello world to the /bin directory and run it. It runs fine.
The board also connects to a small LCD color graphic screen on which the Embest logo currently appears. For my application I need to put text on that display, but none of the supplied sample programs deal with the LCD display. I have not been able to find documents on how to interface to that display. The CD with development tools from Embest has a lot of stuff on it - various libraries and include files. I have browsed many of the include files for hints on what the API looks like to interface to the LCD, but nothing makes sense to me, possibly because I don't know what to look for.
Several of the directories on the CD deal with Qt and Qtopia, which would imply that Qt has been ported to this board. Of course the Embest-supplied tools do not include a complete Qt development package. I have inquired with Trolltech and they tell me a single seat for developing embedded linux for a commercial product is $5000. This is beyond my budget. Besides, my graphics needs are few. I don't need fancy dialog boxes or push buttons. The application is an update for an existing application that I wrote 13 years ago on a 68HC11 with a
2-line LCD text display and no RTOS. I just need a low-level interface to the new LCD. I would even consider writing my own font-rendering functions, because only one fixed-width font is needed. Even Qt has to sit on top of something, but I have not found anything in the Embest documentation or include files that gives a hint as to what that something might be.On another front, the Embest documentation gives a memory address of 0x56000054 for some general-purpose I/O that I will also need. So I tried to access it from within a modified "Hello world" console program as follows:
int *p = (int*)0x56000054; printf("%x",*p);
and I get a segmentation error with a dump of the ARM registers. So I assume that my linux program is not allowed to touch hardware directly. I need to use a library to do that. Once again, I have failed to find such a library.
So what should I be looking for?
Robert Scott Ypsilanti, Michigan