mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <r.hieber@pengutronix.de>
To: Benedikt.Wiesnet@rehau.com
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] fwd: DistroKit not working for BeagleCore
Date: Wed, 28 Mar 2018 11:58:19 +0200	[thread overview]
Message-ID: <d2b5853e-db94-d3ea-19b7-214d7a61be39@pengutronix.de> (raw)
In-Reply-To: <20180322171146.exgnxwv6cn527rec@pengutronix.de>

Hi Benedikt,

when you get to the barebox boot prompt, can you boot successfully by 
typing "boot mmc0"?

In your logs I can see that barebox is adding the wrong rootfs option to 
the kernel command line, it probably wasn't enough to specify 
global.bootm.* variables. The "boot mmc0" command should autodetect the 
respective command line options for the kernel.

By the way, you can set the default boot target in barebox with
"nv boot.default=mmc0", followed by a reset. I think the barebox 
defaultenv sets this variable wrong on boot...

  - Roland

On 22.03.2018 18:11, Robert Schwebel wrote:
> ----- Forwarded message from ptxdist-bounces@pengutronix.de -----
> 
> Date: Thu, 22 Mar 2018 15:12:24 +0100
> From: ptxdist-bounces@pengutronix.de
> To: ptxdist-owner@pengutronix.de
> Subject: Auto-discard notification
> Message-ID: <mailman.49.1521727944.758.ptxdist@pengutronix.de>
> 
> The attached message has been automatically discarded.
> 
> Date: Thu, 22 Mar 2018 14:12:21 +0000
> From: Benedikt.Wiesnet@rehau.com
> To: ptxdist@pengutronix.de
> Subject: DistroKit not working for BeagleCore
> Message-ID: <24378802-ADF9-4060-9ACF-10CEF12E1C82@rehau.com>
> X-Mailer: Lotus Notes Release 8.5.1FP1 January 05, 2010
> 
> Hi *,
> 
>   
> 
> I wanted to feel the power of ptxdist and tried to build an image for
> beaglecore (which is a beaglebone black) with DistroKit-2018.03.0 and
> OSELAS.Toolchain-2016.06.1/arm-v7a-linux-gnueabihf Toolchain.
> 
>   
> 
> Unfortunately nothing is really working. The Boot Process is stopping here:
> 
>   
> 
> barebox 2018.01.0-20180128-1 #1 Thu Mar 22 13:13:28 UTC 2018
> 
> Board: TI AM335x BeagleBone black
> 
> detected 'BeagleBone Black'
> 
> cpsw 4a100000.ethernet: detected phy mask 0x1
> 
> mdio_bus: miibus0: probed
> 
> eth0: got preset MAC address: b0:d5:cc:cb:83:00
> 
> cpsw 4a100000.ethernet: Failed to setup slave 1: I/O error
> 
> am335x-phy-driver 47401300.usb-phy: am_usbphy 8ffa9528 enabled
> 
> musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO
> Rx, HB-ISO Tx, SoftConn)
> 
> musb-hdrc: MHDRC RTL version 2.0
> 
> musb-hdrc: setup fifo_mode 4
> 
> musb-hdrc: 28/31 max ep, 16384/16384 memory
> 
> am335x-phy-driver 47401b00.usb-phy: am_usbphy 8ffaaa88 enabled
> 
> musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO
> Rx, HB-ISO Tx, SoftConn)
> 
> musb-hdrc: MHDRC RTL version 2.0
> 
> musb-hdrc: setup fifo_mode 4
> 
> musb-hdrc: 28/31 max ep, 16384/16384 memory
> 
> i2c-omap 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
> 
> omap-hsmmc 48060000.mmc: registered as 48060000.mmc
> 
> mmc0: detected SD card version 2.0
> 
> mmc0: registered mmc0
> 
> omap-hsmmc 481d8000.mmc: registered as 481d8000.mmc
> 
> mmc1: detected MMC card version 4.5
> 
> mmc1: registered mmc1
> 
> netconsole: registered as netconsole-1
> 
> malloc space: 0x8fefeee0 -> 0x9fdfddbf (size 255 MiB)
> 
> environment load /mnt/mmc0.0/barebox.env: No such file or directory
> 
> Maybe you have to create the partition.
> 
> running /env/bin/init...
> 
> [?25hchanging USB current limit to 1300 mA... done
> 
>   
> 
> Hit m for menu or any other key to stop autoboot:    3       2       1       0
> 
> bootchooser: Target list $global.bootchooser.targets is empty
> 
> Nothing bootable found on 'bootchooser'
> 
> booting 'net'
> 
> ip_route_get: No such file or directory
> 
> could not open /mnt/tftp/none-linux-generic: No route to host
> 
> Booting 'net' failed: No route to host
> 
> booting 'net' failed: No route to host
> 
> boot: No route to host
> 
>   
> 
> type exit to get to the menu
> 
> [1;32mbarebox@[1;36mTI AM335x BeagleBone black:
> 
>   
> 
>   
> 
> When trying to boot manually with (global.bootm.image=/mnt/mmc0.1/boot/zImage,
> global.bootm.oftree=/mnt/mmc0.1/boot/am335x-boneblack.dtb):
> 
>   
> 
> Loading ARM Linux zImage '/mnt/mmc0.1/boot/zImage'
> 
> Loading devicetree from '/mnt/mmc0.1/boot/am335x-boneblack.dtb'
> 
> commandline: console=ttyO0,115200 console=ttyO0,115200n8  root=/dev/nfs nfsroot
> =/home/none/nfsroot/generic,v3,tcp loglevel=5 systemd.log_level=warning
> systemd.show_status=auto
> 
> [    0.003601] timer_probe: no matching timers found
> 
> [    0.245969] omap_hwmod: debugss: _wait_target_disable failed
> 
> [    0.533505] hw perfevents: no interrupt-affinity property for /pmu,
> guessing.
> 
> [    0.836376] omap_voltage_late_init: Voltage driver support not added
> 
> [    0.871536] mmc0: host does not support reading read-only switch, assuming
> write-enable
> 
> [    0.915997] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 500000
> KHz
> 
> [    0.924074] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency
> changed to: 600000 KHz
> 
> [    0.935105] Root-NFS: no NFS server address
> 
> [    0.940012] VFS: Unable to mount root fs via NFS, trying floppy.
> 
> [    0.949346] VFS: Cannot open root device "nfs" or unknown-block(2,0): error
> -6
> 
> [    0.956876] Please append a correct "root=" boot option; here are the
> available partitions:
> 
> [    0.965846] b300        15558144 mmcblk0
> 
> [    0.965855]  driver: mmcblk
> 
> [    0.973123]   b301           32768 mmcblk0p1 abe26147-01
> 
> [    0.973130]
> 
> [    0.980386]   b302          524288 mmcblk0p2 abe26147-02
> 
> [    0.980392]
> 
> [    0.987474]   b303          524288 mmcblk0p3 abe26147-03
> 
> [    0.987479]
> 
> [    0.994764] Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(2,0)
> 
>   
> 
> Does anybody know how to get this DEMO Case working?
> 
>   
> 
> Regards
> 
>   
> 
> Benedikt
> 
>   
> 
> 
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> 
> _______________________________________________________________________
> 
> REHAU AG + Co, Kommanditgesellschaft;
> Persoenlich haftende Gesellschafterin: Helmut Wagner AG 3074 Muri b. Bern,
> Schweiz;
> Praesident des Verwaltungsrats: Helmut Wagner, HR Bern CHE-107.882.879;
> Sitz der Gesellschaft: Rehau;
> Registergericht: Hof, HRA 2232
> 
> 
> ----- End forwarded message -----
> 

-- 
Pengutronix e.K.                  | Roland Hieber               |
Industrial Linux Solutions        | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2018-03-28  9:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-22 17:11 Robert Schwebel
2018-03-28  9:58 ` Roland Hieber [this message]

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=d2b5853e-db94-d3ea-19b7-214d7a61be39@pengutronix.de \
    --to=r.hieber@pengutronix.de \
    --cc=Benedikt.Wiesnet@rehau.com \
    --cc=ptxdist@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