嵌入式相關

受保護:S3C2440, USB in Linux

Posted on 四月 28, 2008. Filed under: Linux, 嵌入式相關, 菸酒生歲月 | Tags: , , , , , , , , , , |

此為加密文章,因此無法看到摘要。

Read Full Post | Make a Comment ( 輸入密碼才能查看留言 so far )

受保護:DEBUGFS Support

Posted on 四月 28, 2008. Filed under: Linux, 嵌入式相關, 菸酒生歲月 | Tags: , , , |

此為加密文章,因此無法看到摘要。

Read Full Post | Make a Comment ( 輸入密碼才能查看留言 so far )

NAND Flash ~ empty flash 問題

Posted on 四月 22, 2008. Filed under: Linux, 嵌入式相關, 菸酒生歲月 | Tags: , |

Openmoko – 惱人的 Empty flash 問題
# sumtool -e 0×20000 –no-cleanmarkers –littleendian -i output/rootfs.jffs2 -o output/newrootfs.jffs2

Read Full Post | Make a Comment ( None so far )

warning: `regparm’ attribute directive ignored

Posted on 四月 19, 2008. Filed under: Linux, 嵌入式相關, 菸酒生歲月 | Tags: , , |

交叉編譯rt73usb driver的時候,需要指定kernel source路徑
# cd RT73_Linux_STA_Drv1.0.4.0/Module
# make ARCH=arm CROSS_COMPILE=arm-linux-
\KERNDIR=/home2/fyodor/kernel/linux-2.6.25__from__2.6.24.3/
出現了這個警告
warning: `regparm’ attribute directive ignored

網路上查到是說
kernel src directory裡面的 include/asm

他是一個link,應該要指向corss compile目標
(在我這個情況就是asm-arm)
如果沒把asm 指到 asm-arm,就會出現這個warning

http://osdir.com/ml/linux.gps/2006-02/msg00049.html
http://linux.chinaunix.net/bbs/archiver/?tid-916672.html
可是我有正確指過去啊….怎麼還是出現這個warning

Read Full Post | Make a Comment ( None so far )

受保護:Linux Driver – Platform Device

Posted on 四月 11, 2008. Filed under: Linux, 嵌入式相關, 菸酒生歲月 | Tags: , , , |

此為加密文章,因此無法看到摘要。

Read Full Post | Make a Comment ( 輸入密碼才能查看留言 so far )

受保護:Wireless tools for ARM Linux

Posted on 四月 8, 2008. Filed under: Linux, 小小心得, 嵌入式相關, 菸酒生歲月 | Tags: , , |

此為加密文章,因此無法看到摘要。

Read Full Post | Make a Comment ( 輸入密碼才能查看留言 so far )

受保護:Linux Kernel modules in busybox

Posted on 四月 3, 2008. Filed under: Linux, 嵌入式相關, 菸酒生歲月 | Tags: , , , , , , |

此為加密文章,因此無法看到摘要。

Read Full Post | Make a Comment ( 輸入密碼才能查看留言 so far )

Linux 裡 S3C2440 的initial 順序

Posted on 四月 1, 2008. Filed under: Linux, 小小心得, 嵌入式相關 | Tags: , , , |

init order in linux of s3c2440

Read Full Post | Make a Comment ( None so far )

設定暫存器位置的語法

Posted on 三月 18, 2008. Filed under: 小小心得, 嵌入式相關, 菸酒生歲月 |

暫存器的Addrewss Uint如果是….
Word:
#define Word_Reg     (*(volatile unsigned long *)0×12345678)
Half-Word:
#define HW_Reg       (*(volatile unsigned int *)0×876543219)
Char:
#define C_Reg           (*(volatile unsigned char *)0xabcd1234)

Read Full Post | Make a Comment ( None so far )

arm-linux-gcc: unrecognized option `-MQ’

Posted on 十二月 27, 2007. Filed under: Linux, 小小心得, 嵌入式相關 |

this problem appears when I trying to make my own u-boot
the cause of this error is the version of arm-linux-gcc does not support the argument “MQ”
my gcc version is 2.95.3…
3.4.1 will be ok !
download arm-linux-gcc… handhelds.org
build GNU/Linux ARM Toolchain from scratch

Read Full Post | Make a Comment ( None so far )

arm-elf-tools VS. arm-linux-tools

Posted on 五月 9, 2007. Filed under: Linux, 嵌入式相關 |

從 LinuxSir的討論可以看到~
luoyong的說法:
arm-elf-tools 生成的文件是FLAT格式的,连接时需要选项-elf2flt,编译得到的文件可以直接在裸机上跑,uClinux和ARM7可能只能运行这种格式的程序。
arm-linux-tools编译生成的文件是Linux内使用的可执行文件的格式(比如a.out)。
LYOO的說法:
从新版本看两者间的区别应该已经没有了,是面向同一目标的不同产品。
特地看了一下arm-linux-tools站上的文档,也没提之间的差别,新版的arm-linux-tools也支持ELF格式,而且强调生成的目标代码与操作系统无关,并建议不要使用旧的a.out格式。
我曾分别用arm-elf-tools和arm-linux-tool(u-boot官方提供的编译环境ELDK)编译过u-boot,都可以正常运行。
arm-elf-tools的主頁

Read Full Post | Make a Comment ( None so far )

Gnome也加入Embedded System陣營囉

Posted on 五月 8, 2007. Filed under: Bookmarks, Linux, 嵌入式相關 |

在jollen學長那邊看到Gnome即將加入Mobile & Embedded 的領域
恩~又多一套工具可選擇了

Read Full Post | Make a Comment ( None so far )

在ubuntu上建立arm toolchain

Posted on 十一月 6, 2006. Filed under: Linux, 嵌入式相關 | Tags: , , , |

arm-linux-tools
YUANFENG光碟裡面的YUANFENG.tar.gz解開之後,裡面有cross-2.95.3.tar.bz2….
就是arm-linux-toos
$ sudo mkdir /usr/local/arm
$ sudo mv cross-2.95.3.tar.bz2 /usr/local/arm
$ sudo tar jxvf /usr/local/arm/cross-2.95.3.tar.bz2
$ sudo echo “export PATH=$PATH:/usr/local/arm/2.95.3/bin” >> ~/.bashrc
$ sudo echo “export PATH=$PATH:/usr/local/arm/2.95.3/bin” >> /etc/profile
$ sudo echo “export$ PATH=$PATH:/usr/local/arm/2.95.3/bin” >> /etc/bashrc

Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...