Hi Tom, On Mon, Oct 2, 2017 at 4:32 PM, Tom Rini <tr...@konsulko.com> wrote:
> FWIW, on cubox the current status is looping, and your kludge I just get > no output :( But there may be some other problems here too as I'm Just tried it on 2017.11-rc1 plus the attached hack and it boots fine: U-Boot SPL 2017.11-rc1-dirty (Oct 02 2017 - 21:27:10) Trying to boot from MMC1 U-Boot 2017.11-rc1-dirty (Oct 02 2017 - 21:27:10 -0300) CPU: Freescale i.MX6Q rev1.5 996 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 26C Reset cause: POR Board: MX6 Cubox-i DRAM: 2 GiB MMC: FSL_SDHC: 0 No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: FEC Hit any key to stop autoboot: 0 =>
From b334aa07bcf959fed9c68bfc8e801f9aabe9b93c Mon Sep 17 00:00:00 2001 From: Fabio Estevam <feste...@gmail.com> Date: Mon, 2 Oct 2017 21:28:14 -0300 Subject: [PATCH] part_dos: hack Signed-off-by: Fabio Estevam <feste...@gmail.com> --- disk/part_dos.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/disk/part_dos.c b/disk/part_dos.c index 1a36be0..a1cf553 100644 --- a/disk/part_dos.c +++ b/disk/part_dos.c @@ -89,20 +89,6 @@ static int test_block_type(unsigned char *buffer) static int part_test_dos(struct blk_desc *dev_desc) { - ALLOC_CACHE_ALIGN_BUFFER(legacy_mbr, mbr, dev_desc->blksz); - - if (blk_dread(dev_desc, 0, 1, (ulong *)mbr) != 1) - return -1; - - if (test_block_type((unsigned char *)mbr) != DOS_MBR) - return -1; - - if (dev_desc->sig_type == SIG_TYPE_NONE && - mbr->unique_mbr_signature != 0) { - dev_desc->sig_type = SIG_TYPE_MBR; - dev_desc->mbr_sig = mbr->unique_mbr_signature; - } - return 0; } -- 2.7.4
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot