On Mon, Sep 16, 2013 at 09:34:21AM -0700, Brendan Conoboy wrote: > On 09/15/2013 10:55 PM, Peter Robinson wrote: > >Likely an issue with a-b-c so I'd check with Brendan and see if there's > >anything needed. > > As I understand it, the wandboard in RC2 works with extlinux, but > not abc. The latest version of abc does contain wandboard support, > but is sitting in testing waiting for love. Whether you have a > wandboard or some other a-b-c using board, please give it a try: > > https://admin.fedoraproject.org/updates/FEDORA-2013-16724/arm-boot-config-0.59-1.fc20 I am happy to test, but indeed the Wandboard in RC2 uses extlinux. When booting it shows a uboot menu (with "U-Boot console" as only entry which autoboots). Manually loading the boot.scr and running it shows a-b-c and starts the kernel successfully. Boot log attached. Unfortunately, there seems to be one issue that the serial output after "Starting kernel..." is messed up. It only seems to be something binary, so maybe the console parameters are wrong. I'll try to have a look at that an other day. It is not clear to me what the advised/correct way to configure the system should be. Is booting with extlinux the goal, or use a-b-c? Either way, the uboot.imx that is compiled for the Wandboard does not seem to have the correct autoboot options. This is probably a bug in the configuration done by the uboot-tools package, but without knowing what the expected/planned behaviour is, I can not patch/test or file a decent bug. Thanks, Niels
U-Boot 2013.10-rc2 (Sep 03 2013 - 04:10:35) CPU: Freescale i.MX6DL rev1.1 at 792 MHz Reset cause: WDOG Board: Wandboard DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: FEC [PRIME] Warning: FEC using MAC address from net device *** U-Boot Boot Menu *** Press UP/DOWN to move, ENTER to select U-Boot console Hit any key to stop autoboot: 2 1 0 => printenv baudrate=115200 boot_fdt=try bootargs=console=ttymxc0 root=LABEL=rootfs bootcmd=mmc dev ${mmcdev}; if mmc rescan; then run bootcmd_default; if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi bootcmd_default=run bootcmd_mmc; run bootcmd_sata; run bootcmd_pxe bootcmd_disk=run bootcmd_disk_sysboot1; run bootcmd_disk_sysboot2; run bootcmd_disk_uenv; run bootcmd_disk_scr; run bootcmd_disk_kernel bootcmd_disk_kernel=ext2load ${boot_ifc} ${bootdevice} ${kernel_addr_r} vmlinuz && ext2load ${boot_ifc} ${bootdevice} ${ramdisk_addr_r} initrd.img && bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr} bootcmd_disk_scr=ext2load ${boot_ifc} ${bootdevice} ${scr_addr_r} boot.scr && source ${scr_addr_r} bootcmd_disk_sysboot1=setenv bootfile /boot/extlinux/extlinux.conf; sysboot ${boot_ifc} ${bootdevice} ext2 bootcmd_disk_sysboot2=setenv bootfile /extlinux/extlinux.conf; sysboot ${boot_ifc} ${bootdevice} ext2 bootcmd_disk_uenv=ext2load ${boot_ifc} ${bootdevice} ${uenv_addr_r} uEnv.txt; env import -t ${uenv_addr_r} ${filesize}; run bootcmd_uenv bootcmd_mmc=setenv boot_ifc mmc; mmc rescan && run bootcmd_disk bootcmd_pxe=setenv bootfile "" ;dhcp; pxe get; pxe boot bootcmd_sata=setenv boot_ifc scsi; scsi scan && run bootcmd_disk bootcmd_setup=mmc rescan bootdelay=2 bootdevice=0 bootretry=90 bootscript=echo Running bootscript from mmc ...; source console=ttymxc0 ethact=FEC ethaddr=00:1f:7b:b2:02:4a ethprime=FEC fdt_addr=0x11000000 fdt_addr_r=0x12000000 fdt_file=imx6dl-wandboard.dtb fdt_high=0xffffffff initrd_high=0xffffffff ip_dyn=yes kernel_addr_r=0x14000000 loadaddr=0x12000000 loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script}; loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file} loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage} localcmd=run bootcmd_mmc mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; else echo WARN: Cannot load the DT; fi; fi; else bootm; fi; mmcdev=0 mmcpart=1 mmcroot=/dev/mmcblk0p2 rootwait rw netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${uimage}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; else echo WARN: Cannot load the DT; fi; fi; else bootm; fi; netretry=once pxefile_addr_r=0x13000000 ramdisk_addr_r=0x32000000 script=boot.scr splashpos=m,m uimage=uImage update_sd_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if mmc dev ${mmcdev}; then if ${get_cmd} ${update_sd_firmware_filename}; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; fi; fi update_sd_firmware_filename=u-boot.imx Environment size: 3332/8188 bytes => ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script} 18053 bytes read in 104 ms (168.9 KiB/s) => sourrce ${loadaddr} ## Executing script at 12000000 Welcome to a-b-c 0.59. Configuring for wandboard Configuring for imx Found kernel_addr_r (0x14000000), using for u_k_addr. Found ramdisk_addr_r (0x32000000), using for u_ramfs_addr. Found fdt_addr_r (0x12000000), using for u_dtb_addr. Found fdt_addr (0x11000000), using for u_dtb_addr. Using defaults for imx6dl-wandboard.dtb, and will load dtb during startup. Will scan for kernels on mmc usb, using ext2 filesystems with bootz Starting menu init.... Using kernel k2 (3.11.0-300.fc20.armv7hl). Auto-booting 3.11.0-300.fc20.armv7hl in 3 seconds. Type ^C to abort then run menu for help. 3 2 1... 4748528 bytes read in 306 ms (14.8 MiB/s) 10760235 bytes read in 607 ms (16.9 MiB/s) 21000 bytes read in 221 ms (92.8 KiB/s) bootargs are ro rootwait rhgb quiet root=UUID=e72ec2c4-bd9e-4100-85be-df34e7f01e53 console=ttymxc0 Kernel image @ 0x14000000 [ 0x000000 - 0x4874f0 ] ## Loading init Ramdisk from Legacy Image at 32000000 ... Image Name: initramfs Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 10760171 Bytes = 10.3 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 11000000 Booting using the fdt blob at 0x11000000 Using Device Tree in place at 11000000, end 11008207 Starting kernel ...
_______________________________________________ arm mailing list arm@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/arm