Bulid Bootloader
Enter U-boot directory, and uzip the source:
$ cd <WORKDIR>/Bootloader
$ tar -jxvf u-boot.tar.bz2
$ cd u-boot
Start make:
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- \
myd_am335x_lcd4.3_config
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
After build is completed, The file MLO and u-boot.img will find on the root of u-boot.Note that, the ”myd_am335x_lcd4.3_256ddr_config” in the second “make” Means 4.3 inch LCD Touchscreen are set into U-boot’s parameters, and chosed the 256MB DDR . Support options shown in the following table:
Mode | DDR SIZE | Config |
---|---|---|
LCD 4.3 inch (480x272) | 256 MB | myd_am335x_lcd4.3_256ddr_config |
LCD 7.0 inch (800x480, Resistive) | 256 MB | myd_am335x_lcd7.0r_256ddr_config |
LCD 7.0 inch (800x480, Capacitive) | 256 MB | myd_am335x_lcd7.0c_256ddr_config |
LCD 4.3 inch (480x272) | 512 MB | myd_am335x_lcd4.3_512ddr_config |
LCD 7.0 inch (800x480, Resistive) | 512 MB | myd_am335x_lcd7.0r_512ddr_config |
LCD 7.0 inch (800x480, Capacitive) | 512 MB | myd_am335x_lcd7.0c_512ddr_config |
Table 3-1
Note: If the LCD type is MY-TFT070-K, it can be recognized automatically and you can choose any one of the above configuration option when building u-boot.