public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: JPT <j-p-t@gmx.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] how to feed kernel, initrd and rootfs into uboot
Date: Wed, 4 May 2016 19:54:09 +0200	[thread overview]
Message-ID: <572A3741.5060508@gmx.net> (raw)

Hi,

I am having difficulties installing openwrt on an old router box.

The guide stops after u-boot is up and running.
https://wiki.openwrt.org/toh/arcadyan/arv752dpw#brnboot

I know how to load kernel image etc into RAM, but it does not boot the
kernel. What am I doing wrong?

I already posted in openwrt forums, but it seems nobody is going to
help. :( https://forum.openwrt.org/viewtopic.php?id=64615

U-Boot 2013.10-openwrt4 (May 03 2016 - 16:56:57) ARV752DPW

Board: Arcadyan ARV752DPW
SoC:   Lantiq Danube-S v1.5
CPU:   333.333 MHz
IO:    166.667 MHz
BUS:   83.333 MHz
BOOT:  NOR
DRAM:  64 MiB
Flash: 8 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Board Net Initialization Failed
ltq-eth
Hit any key to stop autoboot:  0

ARV752DPW # printenv
...
addconsole=setenv bootargs $bootargs console=$consoledev,$baudrate
...
baudrate=115200
bootcmd=bootm ${kernel_addr}
consoledev=ttyLTQ1
kernel_addr=0xB0040000
loadaddr=0x81000000
stderr=serial
stdin=serial
stdout=serial

bootargs is not defined :(

now I use "loadx" to load the kernel into ram.
after that I "bootm". Nothing happens. Then I tried
  setenv bootargs console=ttyLTQ1,115200
Did not change anything.

Why does it load to 0x8100 0000? The device has got 64MB RAM, which is
0x0400 0000

~/src/openwrt/bin/lantiq$
4,3M openwrt-lantiq-xway-ARV752DPW-squashfs.image
1,4M openwrt-lantiq-xway-ARV752DPW-uImage
4,0M openwrt-lantiq-xway-ARV752DPW-uImage-initramfs
178K uboot-lantiq-arv752dpw_brn/openwrt-lantiq-arv752dpw_brn-u-boot.img
packages/

which file should I load to what address?
then bootm <kernel-address> <initramfs-address>
but what to do with the squashfs?
what bootargs do I need?


Please CC to my email, I did not subscribe to the list.


thank you very much

JPT

                 reply	other threads:[~2016-05-04 17:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=572A3741.5060508@gmx.net \
    --to=j-p-t@gmx.net \
    --cc=u-boot@lists.denx.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