Change Rom-5420 Boot Logo; Create A Linux System Boot Media; Create A Linux System Sd Card; Boot From Onboard Flash - Advantech ROM-5420 User Manual

Risc-based smarc module with freescale i.mx6 arm cortex a9 processor
Table of Contents

Advertisement

3.5.2

Change ROM-5420 Boot Logo

By default, ROM-5420 shows a boot logo when booting up. You can replace the logo
to whatever your want by following below steps:
1.
You have to download "netpbm" corresponding to your OS version from internet
first,
2.
Install "netpbm" by typing $sudo apt-get install netpbm.
3.
Prepare your boot logo. For example: bootlogo.png (Under folder Desktop/boot-
logo)
Note!
This picture should be in PNG format and less than 224 colors. It is sug-
gested to have the image resolution equal to your LCD panel size.
4.
Open "Terminal" on Ubuntu 10.04 LTS..
5.
$sudo su (Change to "root" authority)
6.
Input user password.
7.
#cd Desktop/bootlogo (Go into the folder that bootlogo.png located)
8.
#pngtopnm bootlogo.png | ppmquant 224 | pnmtoplainpnm >
logo_linux_clut224.ppm
9.
#cp logo_linux_clut224.ppm \
../7420LBVxxxx/source/linux-3.0.35/drivers/video/logo/
10.
Then you can refer Chapter 3.3.1 to rebuild the kernel with your own boot logo.
3.6

Create a Linux System Boot Media

ROM-5420 supports boot from SD card, SATA device and onboard flash. This section
will guide you how to build a image for ROM-5420 Linux system boot media.
3.6.1

Create a Linux System SD Card

3.6.1.1
From Source Code Package
When you receive the ROM-5420 Linux source code package, you can refer follow-
ing steps to create a Linux system SD card for booting up from it.
1.
Open "Terminal" on Ubuntu 10.04 LTS.
2.
$sudo su (Change to "root" authority)
3.
Input your password.
4.
Insert one SD card to your developing computer
5.
Check the SD card location, like: /dev/sdf
6.
Change directory to BSP's scripts folder
7.
#./mksd-linux.sh /dev/sdf
8.
Type "y" (Start to copy files, wait until it shows [Done])
Then insert the Linux system SD card to ROM-5420 SD card slot (SD1), it will boot
up with Linux environment.
3.6.2

Boot from Onboard Flash

If you already have a Linux system SD card, you can refer to the following steps to
copy the content to onboard flash and then boot from onboard flash. Advantech also
provides you a script "mkinand-linux.sh" to speed up the process of installing system
image to onboard flash.
1.
Refer to Chapter 3.5.1 to make a Linux system SD card
29
ROM-5420 User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rom-5420cd-mda1e

Table of Contents