Android 5.0.2 u-boot doesn't build [ANSWERED]

Moderators: Oren.R, Eran.M

richardL
Posts: 9
Joined: Fri Mar 04, 2016 1:35 pm

Android 5.0.2 u-boot doesn't build [ANSWERED]

Postby richardL » Thu Sep 29, 2016 2:00 pm

When attempting to do a manual build of u-boot for a DART-MX6 SOM mounted to a VAR-DT6CustomBoard, as described in Sections 8.2 to 8.3 of the Wiki: http://variwiki.com/index.php?title=VAR ... ader.C2.A0
I get an error when I enter the command:
make mx6var_som_sd_android_defconfig

The error is:
make: *** No rule to make target `mx6var_som_sd_android_defconfig'. Stop.

#### make failed to build some targets ####

If I change this command to:
make mx6var_som_sd_android_config
this works without error, so maybe the Wiki needs updating?
I can then go on to enter the command:
make -j4
This also completes without error, except no SPL file is produced as stated in the Wiki. I am also confused by the last few lines of the output from make:
...
LD u-boot
OBJCOPY u-boot.bin
OBJCOPY u-boot.srec
MKIMAGE u-boot.img
CFGS board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg.cfgtmp
MKIMAGE u-boot.imx

#### make completed successfully (11 seconds) ####

The CFGS line refers to mt41j128.cfg, but mt41j128.cfg is for DDR3 type DRAM. The DART-MX6 SOM uses LPDDR2, so surely using the config for DDR3 isn't correct?

How can I be sure what register values are used to set up the iMX6 during initial boot?

Eran.M
Posts: 140
Joined: Tue Jan 26, 2016 10:49 am

Re: Android 5.0.2 u-boot doesn't build

Postby Eran.M » Wed Oct 05, 2016 9:43 am

The Wiki is now fixed.


Return to “Android”

Who is online

Users browsing this forum: No registered users and 3 guests