Previous Up Next

4  Usage

With the following uboot settings the device is able to use ethernet and will start after 2 seconds (bootdelay) automatically (autostart):

xxsvideo> set ipaddr 192.168.128.44
xxsvideo> set serverip 192.168.128.40
xxsvideo> set bootdelay 2
xxsvideo> set autostart yes

Additionally the two variables bootargs and bootcmd must be set. Either you boot the kernel via tftpboot and mount the rootfilesystem via NFS:

xxsvideo> set bootargs console=ttyS0,115200 root=/dev/nfs ip=bootp mem=112MB
xxsvideo> set bootcmd tftpboot 0x40500000 uImage-xxsvideo-jadeevalkit-0.8.4.bin

Or you save the kernel in flash and mount the rootfilesystem as mtdpartition:

xxsvideo> set bootargs console=ttyS0,115200 root=/dev/mtdblock3 rootfstype=jffs2 
          mem=112MB
xxsvideo> set bootcmd bootm 0x10040000

The boot argument “mem=112MB” is new as of release 0.8.3. This force the kernel to use only 112 MB of RAM. The remaining 16 MB are used as video memory by the framebuffer driver.

Don’t forget to save the variables to the uboot environment sector by the saveenv command.

xxsvideo> saveenv
————————-
©mycable GmbH, 8thMay, 2009
Previous Up Next