# 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) TODO 3. MX-BAREBOX (bootloader source code) TODO # 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 ip=off root=ubi0:rootfs ubi.mtd=4 rootfstype=ubifs otg_mode=host' tftp vmx51/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 root=/dev/nfs ip=:::::eth0:dhcp rw nfsroot=192.168.0.122:/tftpboot/rootfs-bb-mx51,nolock otg_mode=device video=mxcdi0fb:RGB24,800x480' 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 root=/dev/nfs ip=:::::eth0:dhcp rw nfsroot=192.168.0.122:/tftpboot/rootfs-bb-mx51,nolock gpu_memory=16M' tftp vmx51/zImage-k35 zImage-k35 bootz zImage-k35