Difference between revisions of "HawkboardFAQ"
Alokprasad (talk | contribs) (→Kernel/uImage) |
Alokprasad (talk | contribs) (→Kernel/uImage) |
||
Line 29: | Line 29: | ||
[2] = { | [2] = { | ||
.name = "VGA_Monitor", | .name = "VGA_Monitor", | ||
− | + | .width = 800, | |
.height = 600, | .height = 600, | ||
.hfp = 48, | .hfp = 48, |
Revision as of 07:41, 23 May 2010
Contents
Camera Interface
Q: How can I use/test camera interface of Hawkboard?
A: Due to color space issues it is a little bit tricky at the moment. Not much software supports it out of the box. You can find test procedure here
Kernel/uImage
Q:How to see Kernel Message for debugging Purpose?
A:You can use earlyprintk=serial,uart0,115200 or earlyprintk=vga in bootargs,you will also need to enable that in kernel by enabling CONFIG_EARLY_PRINTK (CONFIG_DEBUG_LL, CONFIG_DEBUG_KERNEL) or
Linux Kernel Configuration Kernel hacking ---> [*] Early printk
Q:I need support for 800x600 Resolution ?
A:Apply following changes in drivers/video/da8xx-fb.c
/* CRT Monitor or LCD Screen */ [2] = { .name = "VGA_Monitor", .width = 800, .height = 600, .hfp = 48, .hbp = 80, .hsw = 32, .vfp = 3, .vbp = 11, .vsw = 4, .pxl_clk = 37000000, .invert_pxl_clk = 1, },
U-Boot
Q:I am not getting U-BOOT Prompt/How do i recovery U-Boot ?
A:Please see recovery guide to Reflash uboot on Hawkboard Here
Q:How to Do i autoboot Hawkboard with my RootFS on USB Drive.?
A:To Autoboot hawkboard kernel must reside on NAND & follow these
setenv serverip 192.168.0.100 setenv ipaddr 192.168.0.150 tftpboot 0xc0700000 u-boot_nand_ais_v1.bin nand erase nand write.e 0xc0700000 0x20000 0x70000 tftp c0700000 uImage nand write.e 0xc0700000 0x200000 0x200000 setenv bootargs console=ttyS2,115200n8 console=tty1 noinitrd root=/dev/sda rootwait rw init=/sbin/init setenv bootcmd "setenv console=ttyS2,115200n8 console=tty1 noinitrd root=/dev/sda1 rootwait rw init=/sbin/init;nand read.e 0xc0700000 0x200000 0x200000;bootm 0xc0700000" saveenv
Q:How Do i flash NAND with U-Boot without using TI's Host Utility or any Linux Application exists?
A:You will need Mono package (DOT NET implementation for Linux) & dvflashutils .Check below for more details http://processors.wiki.ti.com/index.php?title=Serial_Boot_and_Flash_Loading_Utility
Q:Is there alternative to Load uImage beside TFTP or Flashing to NAND
A:Yes there two more methods you could do
- Transfer uImage through NFS using:
hawkboard.org > nfs 0xc0700000 192.168.0.100:/nfsroot/uImage hawkboard.org > setenv bootargs .... hawkboard.org > bootm c0700000
- Transferring uImage through Serial Interface using Ymodem protocol
Check this thread http://groups.google.com/group/hawkboard/browse_thread/thread/ecc57e1b964bc2c4/b0e1ad260a226bd1?lnk=gst&q=ymodem
Ubuntu Rootfs
Q:How to Do i installed new packages in ubuntu jaunty rootfs?
A:If you have made the rootfs using rootstock with "apt" as one of Seed paramter than you can use "apt-get install <package_name> to install required package.
Booting Errors
Q:I am getting "Kernel panic - not syncing: VFS: Unable to mount root fs ..." error how to resolve this?
A:Kernel panic occurs when kernel is not able to find rootfs(init program ),either the bootargs is not correct or source of rootfs is not available.
DSP
Q:How do i start with DSP Programming on Hawkboard?
A:Read Thread
- http://groups.google.com/group/hawkboard/browse_thread/thread/3534c1590940688c/f7118c18635d8275
- http://groups.google.com/group/hawkboard/browse_thread/thread/661c1ce0f342b1f8/d4d617831983b78d
Hawkboard
Q:Does Hawkboard support SDHC Card?
A:Yes ,it supports SD & SDHC Card.