Execute Commands At Boot Up Time; Add New Files In Rootfs; Image Downsize - Ralink RT2880 User Manual

Ralink ap sdk 3.5.0.0 & demo board
Table of Contents

Advertisement

#make menuconfig
<M>
Ralink hello module
5. Compile the source code
#make dep
#make
6. Test
/ # insmod hello
hello world
/ #

9.7 Execute commands at boot up time

Edit RT288x_SDK/source/vendors/Ralink/RT2880/rcS
#!/bin/sh
mount –a
goahead& <-- add new command here

9.8 Add new files in RootFs

If you execute the "make clean" script, it will delete RT288x_SDK/source/romfs directory.
You cannot copy the file to RT288x_SDK/source/romfs manually because it will disappear after
executing "make clean".
Example: add xxx.bin to rootfs
a. copy xxx.bin to RT288x_SDK/source/vendors/Ralink/{RT2880/RT3052/RT3883}
b. edit RT288x_SDK/source/vendors/Ralink/{RT2880/RT3052/RT3883}/Makefile
romfs:
$(ROMFSINST) /etc_ro/xxx.bin
The script will copy xxx.bin to RT288x_SDK/source/romfs/etc_ro after executing "make romfs"

9.9 Image DownSize

RALINK AP SDK 3.3.0.0 User's Manual
Page 46 of 93

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rt3052Rt3883Rt3352

Table of Contents