mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Doug Brainard <dbrainard@brainardinsight.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: Passing kernel arguments - SAMA5D4EK
Date: Mon, 9 Feb 2015 22:05:15 -0700	[thread overview]
Message-ID: <CA+nEJinTHda4R+crTWODbc2MxqMF9vtTLOReph-Bn_THY2oNMQ@mail.gmail.com> (raw)
In-Reply-To: <20150209073610.GS12209@pengutronix.de>

Sascha,

Okay this is probably a dumb question because I'm fairly new to git,
but I've got everything working with the new environment and checked
in locally, but now when I try to do a "git push origin master", I get
an access denied error:

fatal: remote error: access denied or repository not exported: /git/barebox.git

What do I need to do to push the changes back up?

Thanks,

Doug


On Mon, Feb 9, 2015 at 12:36 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> On Sat, Feb 07, 2015 at 11:55:12AM -0700, Doug Brainard wrote:
>> Sascha,
>>
>> I've begun working on upgrading to the new environment, but I've
>> gotten stuck as far as getting Linux to boot.  I've attached the
>> device list from the old environment and the new one that I'm
>> currently working on.  I believe they are the same.  My globals are
>> currently set up as:
>>
>>   version: 2015.02.0-00003-ga17b7cd-dirty
>>   model: Atmel sama5d4ek
>> * hostname: sama5d4ek
>>   loglevel: 7
>>   console.input_allow: 1
>>   bootm.image:
>>   bootm.image.loadaddr:
>>   bootm.oftree:
>>   bootm.initrd:
>>   bootm.initrd.loadaddr:
>>   dhcp.rootpath:
>>   dhcp.tftp_server_name:
>>   dhcp.bootfile:
>>   dhcp.oftree_file:
>>   dhcp.vendor_id:
>>   dhcp.client_id:
>>   dhcp.user_class:
>>   dhcp.client_uuid:
>> * autoboot_timeout: 3
>> * allow_color: true
>> * user: none
>> * boot.default: nand-ubi
>> * bootargs.base: console=ttyS0,115200
>>   linux.bootargs.base:
>>   linux.bootargs.console:
>>   linux.bootargs.dyn.ip:
>>   linux.bootargs.dyn.root:
>>   editcmd: sedit
>>   linux.mtdparts.nand0:
>> atmel_nand:256k(nand0.at91bootstrap),512k(nand0.barebox)ro,256k(nand0.bareboxenv),256k(nand0.bareboxenv2),256k(nand0.spare),512k(nand0.oftree),6M(nand0.kernel),-(nand0.rootfs)
>>
>> With these settings, it says that it loads the kernel and is booting,
>> but then just sits there indefinitely.  Any ideas?  Below is the boot
>> information I get:
>>
>> barebox 2015.02.0-00003-ga17b7cd-dirty #24 Sat Feb 7 11:19:26 MST 2015
>>
>>
>> Board: Atmel sama5d4ek
>> AT91: Detected soc type: sama5d4
>> AT91: Detected soc subtype: sama5d44
>> Clocks: CPU 528 MHz, master 176 MHz, main 12.000 MHz
>> gpio-at91 at91sam9x5-gpio0: AT91 gpio driver registered
>> gpio-at91 at91sam9x5-gpio1: AT91 gpio driver registered
>> gpio-at91 at91sam9x5-gpio2: AT91 gpio driver registered
>> gpio-at91 at91sam9x5-gpio3: AT91 gpio driver registered
>> gpio-at91 at91sam9x5-gpio4: AT91 gpio driver registered
>> i2c-gpio i2c-gpio0: using pins 30 (SDA) and 31 (SCL)
>> atmel_nand: Use On Flash BBT
>> nand: ONFI param page 0 valid
>> nand: ONFI flash detected
>> nand: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron
>> MT29F4G08ABAEAWP), 512MiB, page size: 4096, OOB size: 224
>> atmel_nand atmel_nand0: Initialize PMECC params, cap: 8, sector: 512
>> Bad block table found at page 131008, version 0x01
>> Bad block table found at page 130944, version 0x01
>> mdio_bus: miibus0: probed
>> macb macb0: Cadence GEM at 0xf8020000
>> m25p80 m25p800: at25df321a (4096 Kbytes)
>> atmel_mci atmel_mci1: version: 0x600
>> atmel_mci atmel_mci1: registered as atmel_mci1
>> mci0: no card inserted
>> malloc space: 0x26500000 -> 0x26efffff (size 10 MiB)
>> envfs: wrong magic
>> running /env/bin/init...
>>
>> Hit any key to stop autoboot:  0
>> booting nand-ubi
>>
>> Loading ARM Linux zImage '/dev/nand0.kernel.bb'
>> commandline:    root=ubi0:nand0.rootfs ubi.mtd=nand0.rootfs
>> rootfstype=ubifs
>> mtdparts=atmel_nand:256k(nand0.at91bootstrap),512k(nand0.barebox)ro,256k(nand0.bareboxenv),256k(nand0.bareboxenv2),256k(nand0.spare),512k(nand0.oftree),6M(nand0.kernel),-(nand0.rootfs)
>> arch_number: 0
>
> Here is your problem. barebox tries to boot Linux with an old style
> machine id which is not set for your board. You'll need a device tree
> for your board. If you've built your kernel correctly you'll find it
> in arch/arm/boot/dts/at91-sama5d4ek.dtb. Set global.bootm.oftree to the
> path to the device tree file and it should boot. See
> Documentation/user/networking.rst for a convenient way to get the
> devicetree onto the board. You can store it for example under /env/oftree
>
> Sascha
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2015-02-10  5:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-02 16:58 Doug Brainard
2015-02-03  8:59 ` Sascha Hauer
2015-02-03  9:16   ` Bo Shen
2015-02-03 17:21     ` Doug Brainard
2015-02-03 19:33       ` Sascha Hauer
2015-02-03 21:07         ` Doug Brainard
2015-02-05 22:19           ` Doug Brainard
2015-02-06  7:35             ` Sascha Hauer
2015-02-06  7:33     ` Sascha Hauer
2015-02-07 18:55       ` Doug Brainard
2015-02-09  7:36         ` Sascha Hauer
2015-02-10  5:05           ` Doug Brainard [this message]
2015-02-10  9:48             ` Sascha Hauer

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=CA+nEJinTHda4R+crTWODbc2MxqMF9vtTLOReph-Bn_THY2oNMQ@mail.gmail.com \
    --to=dbrainard@brainardinsight.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox