All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 12846] New: SAMA5D3-Xplained Default configuration can't start U-Boot
Date: Sun, 03 May 2020 05:09:07 +0000	[thread overview]
Message-ID: <bug-12846-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=12846

            Bug ID: 12846
           Summary: SAMA5D3-Xplained Default configuration can't start
                    U-Boot
           Product: buildroot
           Version: 2020.02.1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: therealergo at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

OS: Ubuntu 20.04 LTS

Following the instructions in board/atmel/readme.txt for the SAMA5D3-Xplained
boot from NAND with either atmel_sama5d3_xplained_defconfig or
atmel_sama5d3_xplained_dev_defconfig, the image does not boot past
AT91Bootstrap.

Only the following is output from the board:

  RomBOOT

  AT91Bootstrap 3.9.0 (Sat 02 May 2020 09:50:11 PM CDT)

  ACT8865: Set REG1/REG2/REG3 Power-saving mode
  ACT8865: Disable ACT8865's I2C interface
  NAND: ONFI flash detected
  NAND: Manufacturer ID: 0x2c Chip ID: 0xda
  NAND: Page Bytes: 2048, Spare Bytes: 64
  NAND: ECC Correctability Bits: 4, ECC Sector Bytes: 512
  NAND: Disable On-Die ECC
  NAND: Initialize PMECC params, cap: 4, sector: 512
  NAND: Image: Copy 0xc0000 bytes from 0x40000 to 0x26f00000
  NAND: Done to load image

However, when the U-Boot version is changed to "linux4sam_5.5" by changing the
"U-Boot Version" from "Custom tarball" to "Custon Git Repository," changing
"URL of custom repository" to "https://github.com/linux4sam/u-boot-at91.git"
and changing "Custom repository version" to "801b789," the image boots
successfully.

I've done the debugging that I can, and I'm certain that AT91Bootstrap is
copying the U-Boot image into RAM and jumping to it, but I haven't been able to
narrow down the issue any further.

Steps to reproduce:
> make atmel_sama5d3_xplained_defconfig
> make
> Put board into RomBOOT (open JP5, power up, close JP5)
> ./board/atmel/flasher.sh ./output /dev/ttyACM0 sama5d3_xplained
> (flash completes successfully)
> Restart board

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2020-05-03  5:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-03  5:09 bugzilla at busybox.net [this message]
2020-05-16 13:39 ` [Buildroot] [Bug 12846] SAMA5D3-Xplained Default configuration can't start U-Boot bugzilla at busybox.net
2024-06-15 14:52 ` bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-12846-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.