手里有一块pxa255的开发板,已经是成品。由于提供商提供的bootloader是firmboot的二进制文件,虽然后来也提供了该部分的源代码,但是需要据说需要用wince4.2来编译才能进行修改代码,考虑到wince的庞大(以前作培训时用过一段时间),而且该bootloader只能在win下进行烧写,内核和文件系统也只能在win下下载,在linux下不能被识别。
所以就考虑移植下uboot到该开发板上,首先遇到的问题就是在ubuntu7.10发行版的linux上usb转串口不太好用(用的是笔记本电脑,没有串口),经历如下:
将usb连接线和开发板连好,插入电脑,用dmesg查看该设备是否被检测到:
[ 70.676000] usb 2-2: new full speed USB device using uhci_hcd and address 3
[ 70.836000] usb 2-2: configuration #1 chosen from 1 choice
[ 70.968000] usbcore: registered new interface driver usbserial
[ 70.968000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 70.968000] usbcore: registered new interface driver usbserial_generic
[ 70.968000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB S
所以就考虑移植下uboot到该开发板上,首先遇到的问题就是在ubuntu7.10发行版的linux上usb转串口不太好用(用的是笔记本电脑,没有串口),经历如下:
将usb连接线和开发板连好,插入电脑,用dmesg查看该设备是否被检测到:
[ 70.676000] usb 2-2: new full speed USB device using uhci_hcd and address 3
[ 70.836000] usb 2-2: configuration #1 chosen from 1 choice
[ 70.968000] usbcore: registered new interface driver usbserial
[ 70.968000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 70.968000] usbcore: registered new interface driver usbserial_generic
[ 70.968000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB S