顯示具有 樹莓派 標籤的文章。 顯示所有文章
顯示具有 樹莓派 標籤的文章。 顯示所有文章

2014年3月28日 星期五

raspberry pi 如何在開機之後 繼續使用 ttyAMA0作為console

我用debian debootstrap 製作一個root
放進樹莓派
接上txrx用電腦看console
但是開機之後 kernel跑完之後 就沒有了

上網查發現
要在 etc/inittab 最後面放上
T0:23:respawn:/sbin/getty -L ttyAMA0 9600 vt100
字串
讓他進去之後 繼續使用 ttyAMA0作為console

否則就只能用電視來看console
有點蠢

另外
ttyAMA0 是樹莓派核心的 串列埠 名稱


2013年11月19日 星期二

在樹莓派上面使用makefile script建置根目錄(需補充)

規則

使用Shell Script 語法。在Makefile 裡,只要以<Tab> 開頭都將會被視為Shell Script 執行。

目的

在專案樹中,利用makefile script除了建置核心,還可以用來建置應用程式與根目錄

已知問題

同樣版本的bash與makefile,可是在fedora與ubuntu的執行結果不一樣,不同平台有語法不相容的問題

步驟

1.建置全專案的configuration選單 ,包括選定核心、cross compiler、根目錄、使用者名單等。

2.採取untar and patch策略,確保看見原始碼以及修補用diff,方便追蹤。

3.根目錄的建置使用script,讓步驟程式化。 

...

2013年10月14日 星期一

樹莓派與其它板子的比較表

http://elinux.org/RaspberryPi_Comparison

RPi2開機順序與相關檔案

根據資料,RPi是把bootloader利用GPU執行的

在 https://github.com/raspberrypi/firmware
裡面提到
*start.elf, bootcode.bin are the GPU firmware and bootloaders. 
Their licence is described in 'LICENCE.broadcom'.
 
The kernel.img files
  are builds of the Linux kernel, released under the GPL (see COPYING.linux) 

2013年10月12日 星期六