# MX-README DESCRIPTION =========== # First step -> The development kit can be controlled using various interfaces. Most popular -> is serial console since this interface will ensure full control over kit. -> Serial console allows user control over booted system as well as altering -> bootloader environment. # Bootloader developing -> (TODO) # Kernel developing -> Kernel developing covers necessary steps which will allow linux kernel -> modification and compilation. # Application developing -> Application developing covers necessary steps which will allow custom -> application compilation. # Full development environment -> Following this steps will allow kernel as well as application development. -> The kernel image will be loaded and demo file-system will be mounted over -> ethernet network. # First step ============ 1. MX-SERIAL (serial terminal program) # Bootloader developing ======================= 1. MX-SERIAL (serial terminal program) 2. MX-JTAG (JTAG) 3. MX-BAREBOX (bootloader source code) # Kernel developing =================== 1. MX-SERIAL (serial terminal program) 2. MX-TFTP (trivial ftp server) 3. MX-CCOMPILER (arm compiler) 4. MX-KERNEL (kernel source code) Altering bootloader environment: (copy and paste these lines to the bootloader prompt "barebox:/ ") eth0.ipaddr=192.168.0.123 eth0.netmask=255.255.255.0 eth0.gateway=192.168.0.1 eth0.serverip=192.168.0.122 bootargs='console=ttymxc0,115200 rootfstype=ubifs ubi.mtd=3 root=ubi0:rootfs-vmx25 video=imxfb:WVGA-LCD' tftp vmx25/zImage-k35 zImage-k35 bootz zImage-k35 # Application developing ======================== 1. MX-SERIAL (serial terminal program) 2. MX-NFS (network file system server) 3. MX-CCOMPILER (arm compiler) 4. MX-HELLOWORLD (simple demo application) Altering bootloader environment: (copy and paste these lines to the bootloader prompt "barebox:/ ") eth0.ipaddr=192.168.0.123 eth0.netmask=255.255.255.0 eth0.gateway=192.168.0.1 eth0.serverip=192.168.0.122 bootargs='console=ttymxc0,115200 ip=dhcp root=/dev/nfs rw nfsroot=192.168.0.122:/tftpboot/rootfs-mx25,nolock' bootz /dev/nand0.kernel.bb # Full development environment (recommended) ============================================ 1. MX-SERIAL (serial terminal program) 2. MX-TFTP (trivial ftp server) 3. MX-NFS (network file system server) 4. MX-CCOMPILER (arm compiler) 5. MX-KERNEL (kernel source code) 6. MX-HELLOWORLD (simple demo application) Altering bootloader environment: (copy and paste these lines to the bootloader prompt "barebox:/ ") eth0.ipaddr=192.168.0.123 eth0.netmask=255.255.255.0 eth0.gateway=192.168.0.1 eth0.serverip=192.168.0.122 bootargs='console=ttymxc0,115200 mem=32M@0x80000000 mem=32M@0x90000000 ip=dhcp root=/dev/nfs rw nfsroot=192.168.0.122:/tftpboot/rootfs-mx25,nolock otg_mode=host video=imxfb:VGA-16@60 mxsdhci.sd_cd=1' tftp vmx25/zImage-k35 zImage-k35 bootz zImage-k35