Hi, On 02/07/2015 12:48 PM, [email protected] wrote: > I have tired the the latest upstream u-boot for Banana Pro, but get error like below: >
You need the attached patch for upstream u-boot/master to work on sunxi devices, this should get merged upstream soon. Regards, Hans
CPU: Allwinner A20 (SUN7I) I2C: ready DRAM: 1015 MiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment Reserved 9216kB of RAM for Framebuffer. HDMI connected: Setting up a 1024x768 hdmi console In: serial Out: vga Err: vga SCSI: SUNXI SCSI INIT SATA link 0 timeout. AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part ccc apst Net: dwmac.1c50000 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found USB1: USB EHCI 1.00 scanning bus 1 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Unknown command 'part' - try 'help' scanning bus for devices... Found 0 device(s). SCSI device 0: Device 0: not available What may be the problem? Tony Zhang
-- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
>From 60e4cc926d50e4c828cf776ebbf10dfcec4ad5e2 Mon Sep 17 00:00:00 2001 From: Hans de Goede <[email protected]> Date: Sat, 7 Feb 2015 13:23:39 +0100 Subject: [PATCH v2] config_distro_bootcmd.h: Enable CONFIG_CMD_PART The recent changes to config_distro_bootcmd.h require CONFIG_CMD_PART to be defined, as the default bootcmd now uses the "part" command. This fixes sunxi boards not booting with v2015.04-rc1. Signed-off-by: Hans de Goede <[email protected]> --- include/config_distro_bootcmd.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h index 49674f4..07a0b3b 100644 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h @@ -10,6 +10,10 @@ #ifndef _CONFIG_CMD_DISTRO_BOOTCMD_H #define _CONFIG_CMD_DISTRO_BOOTCMD_H +/* We need the part command */ +#define CONFIG_PARTITION_UUIDS +#define CONFIG_CMD_PART + #define BOOTENV_SHARED_BLKDEV_BODY(devtypel) \ "if " #devtypel " dev ${devnum}; then " \ "setenv devtype " #devtypel "; " \ -- 2.2.2
