From: Marco Stornelli <marco.stornelli@coritel.it>
To: Mark Bishop <mark@bish.net>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: How can I make flash writeable?
Date: Fri, 17 Oct 2008 15:13:58 +0200 [thread overview]
Message-ID: <48F88F96.3000804@coritel.it> (raw)
In-Reply-To: <20081017083352.hvn0g2q1es8skcwg@www.bish.net>
You have to compile it with the dtc compiler and load it with the uboot
bootm command, indeed, (at least with a recent uboot version) it has
three parameters: kernel, dtb (the name of dts compiled) and initrd. If
you want you can store the dtb in flash.
Regards,
Mark Bishop ha scritto:
>
>
> Ok, so bear with me. I've read booting-without-of.txt in the
> Documentation/powerpc directory and I modified a .dts file but now what?
>
> I use ltib or u-boot to load that into the device or do I roll a kernel
> with that file and flash the device with it?
>
> Apologies for the less than technical questions.
>
> Quoting Marco Stornelli <marco.stornelli@coritel.it>:
>
>> Hi Mark,
>>
>>> How can I tell which devices are mapped to /proc/mtd devices?
>>
>> If I well understand the question, you'd like to change the partitions
>> layout (?), so you should check out the dts file to see the flash
>> layout, then you can specify there the partitions and change the
>> dimensions, if they are read-only...and so on.
>>
>> Regards,
>>
>> Mark Bishop ha scritto:
>>> I am using the MPC8313E-RDB and I am having some problems using the
>>> flash that comes on the board. Let me preface this by saying that I
>>> haven't worked in the embedded linux arena in about 10 years so I am
>>> trying to catch up with all the new toys.
>>>
>>> This board uses uBoot and it currently has 128M of DDR2, 8M flash and
>>> 32M NAND Flash. I have a few questions:
>>>
>>> How can I tell which memory device it uses to boot out of?
>>> How can I tell which devices are mapped to /proc/mtd devices?
>>>
>>>
>>> I want to create a writeable flash partition, is there a FAQ out there I
>>> could look at.
>>>
>>> All of this is after a few days of using Google to try and glean some
>>> data from the internet. And the books don't get here from Amazon until
>>> Monday.
>>>
>>> I would appreciate any help. Even a RTFM - if you could point me to
>>> TFM, it would greatly help.
>>> _______________________________________________
>>> Linuxppc-embedded mailing list
>>> Linuxppc-embedded@ozlabs.org
>>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>>
>>
>> --
>> Marco Stornelli
>> Embedded Software Engineer
>> CoRiTeL - Consorzio di Ricerca sulle Telecomunicazioni
>> http://www.coritel.it
>>
>> marco.stornelli@coritel.it
>> +39 06 72582838
>>
>>
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
--
Marco Stornelli
Embedded Software Engineer
CoRiTeL - Consorzio di Ricerca sulle Telecomunicazioni
http://www.coritel.it
marco.stornelli@coritel.it
+39 06 72582838
next prev parent reply other threads:[~2008-10-17 13:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-16 18:45 How can I make flash writeable? Mark Bishop
2008-10-17 7:01 ` Marco Stornelli
2008-10-17 12:33 ` Mark Bishop
2008-10-17 13:13 ` Marco Stornelli [this message]
[not found] <mailman.1.1224291602.14390.linuxppc-embedded@ozlabs.org>
2008-10-18 1:19 ` Duy-Ky Nguyen
2008-10-18 7:53 ` Wolfgang Denk
[not found] <mailman.1.1224378004.9077.linuxppc-embedded@ozlabs.org>
2008-10-19 2:49 ` Duy-Ky Nguyen
2008-10-20 15:36 ` Mark Bishop
[not found] <mailman.3776.1224533270.3127.linuxppc-embedded@ozlabs.org>
2008-10-21 1:23 ` Duy-Ky Nguyen
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=48F88F96.3000804@coritel.it \
--to=marco.stornelli@coritel.it \
--cc=linuxppc-embedded@ozlabs.org \
--cc=mark@bish.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).