<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [uboot] mpc8360 increase flash memory in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/uboot-mpc8360-increase-flash-memory/m-p/163225#M905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi everybody&lt;BR /&gt;&lt;BR /&gt;I'm a beginner in embedded linux, and I've got a problem.&lt;BR /&gt;I'm with a board with a MPC8360, 16Mb of flash memory, and 256Mb of DDR2.&lt;BR /&gt;I boot the board from flash, with uboot 1.3.0-rc2.&lt;BR /&gt;Everything works great, and I can erase and copy some stuff in the flash memory, with the uboot shell, and erase and cp command.&lt;BR /&gt;The flash memory map was from 0xFC00_0000 to 0xFCFF_FFFF, and was managed with LBC0.&lt;BR /&gt;the register were&lt;BR /&gt;LBLAWAR0 = 0x80000017 ;16Mb flash&lt;BR /&gt;LBLAWBAR0 = 0xfc000000 ;flash base address&lt;BR /&gt;OR0 = 0xff000ca1 ;address mask 0xFF&lt;BR /&gt;BR0 = 0xfc001001 ; address 0xFC&lt;BR /&gt;&lt;BR /&gt;I decided to increase the flash size from 16Mb to 32Mb.&lt;BR /&gt;The new memory map is from 0xFC00_0000 to 0xFDFF_FFFF.I have made some few changes in the uboot :&lt;BR /&gt;LBLAWAR0 = 0x80000018 ;32Mb flash&lt;BR /&gt;LBLAWBAR0 = 0xfc000000 ;flash base address&lt;BR /&gt;OR0 = 0xfe000ca1 ;address mask 0xFE&lt;BR /&gt;BR0 = 0xfc001001 ; address 0xFC&lt;BR /&gt;&lt;BR /&gt;It go to the shell from the uboot, but when I try to acess to the 16MLb-32Mb of the flash, the uboot hang with the message :&lt;BR /&gt;&lt;BR /&gt;Bad trap at PC: ffd5c34, SR: b032, vector=300&lt;BR /&gt;&lt;BR /&gt;**bleep**: 0FFD5C34 XER: 20000000 LR: 0FFD5C34 REGS: 0ffaabc8 TRAP: 0300 DAR: FD000000&lt;BR /&gt;&lt;BR /&gt;MSR: 0000b032 EE: 1 PR: 0 FP: 1 ME: 1 IR/DR: 11&lt;BR /&gt;&lt;BR /&gt;DSIR: 0ffeded8&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;GPR00: 0FFD5C34 0FFAACB8 00000080 00000000 00000030 00000010 FFFFFFF8 00000007&lt;BR /&gt;&lt;BR /&gt;GPR08: 00000041 00000020 FFFFFFFF 00000004 00000000 E0110000 0FFFE000 13FCB000&lt;BR /&gt;&lt;BR /&gt;GPR16: 00000000 00000000 00000000 0000000B 00000000 00000000 00000001 FC000002&lt;BR /&gt;&lt;BR /&gt;GPR24: FD000000 0FFFDD80 FD000000 04040000 0FFAAF4C 0FFAAF4C 0FFFE4F4 0FFFE7B0&lt;BR /&gt;&lt;BR /&gt;Call backtrace:&lt;BR /&gt;&lt;BR /&gt;0FFD5C34 0FFD4938 0FFE2CC4 0FFDE11C 0FFE36FC 0FFE3A1C 0FFE3CA8&lt;BR /&gt;&lt;BR /&gt;0FFE4D18 0FFE4EF4 0FFD7014 0FFCFEE8 0FFCE73C&lt;BR /&gt;&lt;BR /&gt;Exception in kernel pc ffd5c34 signal 0&lt;BR /&gt;&lt;BR /&gt;Resetting the board.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There seem to be a problem with the configuration register, but I couldn't spot it.&lt;BR /&gt;Does anyone have an idea ?&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2009 23:51:21 GMT</pubDate>
    <dc:creator>fguihot</dc:creator>
    <dc:date>2009-12-22T23:51:21Z</dc:date>
    <item>
      <title>[uboot] mpc8360 increase flash memory</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/uboot-mpc8360-increase-flash-memory/m-p/163225#M905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi everybody&lt;BR /&gt;&lt;BR /&gt;I'm a beginner in embedded linux, and I've got a problem.&lt;BR /&gt;I'm with a board with a MPC8360, 16Mb of flash memory, and 256Mb of DDR2.&lt;BR /&gt;I boot the board from flash, with uboot 1.3.0-rc2.&lt;BR /&gt;Everything works great, and I can erase and copy some stuff in the flash memory, with the uboot shell, and erase and cp command.&lt;BR /&gt;The flash memory map was from 0xFC00_0000 to 0xFCFF_FFFF, and was managed with LBC0.&lt;BR /&gt;the register were&lt;BR /&gt;LBLAWAR0 = 0x80000017 ;16Mb flash&lt;BR /&gt;LBLAWBAR0 = 0xfc000000 ;flash base address&lt;BR /&gt;OR0 = 0xff000ca1 ;address mask 0xFF&lt;BR /&gt;BR0 = 0xfc001001 ; address 0xFC&lt;BR /&gt;&lt;BR /&gt;I decided to increase the flash size from 16Mb to 32Mb.&lt;BR /&gt;The new memory map is from 0xFC00_0000 to 0xFDFF_FFFF.I have made some few changes in the uboot :&lt;BR /&gt;LBLAWAR0 = 0x80000018 ;32Mb flash&lt;BR /&gt;LBLAWBAR0 = 0xfc000000 ;flash base address&lt;BR /&gt;OR0 = 0xfe000ca1 ;address mask 0xFE&lt;BR /&gt;BR0 = 0xfc001001 ; address 0xFC&lt;BR /&gt;&lt;BR /&gt;It go to the shell from the uboot, but when I try to acess to the 16MLb-32Mb of the flash, the uboot hang with the message :&lt;BR /&gt;&lt;BR /&gt;Bad trap at PC: ffd5c34, SR: b032, vector=300&lt;BR /&gt;&lt;BR /&gt;**bleep**: 0FFD5C34 XER: 20000000 LR: 0FFD5C34 REGS: 0ffaabc8 TRAP: 0300 DAR: FD000000&lt;BR /&gt;&lt;BR /&gt;MSR: 0000b032 EE: 1 PR: 0 FP: 1 ME: 1 IR/DR: 11&lt;BR /&gt;&lt;BR /&gt;DSIR: 0ffeded8&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;GPR00: 0FFD5C34 0FFAACB8 00000080 00000000 00000030 00000010 FFFFFFF8 00000007&lt;BR /&gt;&lt;BR /&gt;GPR08: 00000041 00000020 FFFFFFFF 00000004 00000000 E0110000 0FFFE000 13FCB000&lt;BR /&gt;&lt;BR /&gt;GPR16: 00000000 00000000 00000000 0000000B 00000000 00000000 00000001 FC000002&lt;BR /&gt;&lt;BR /&gt;GPR24: FD000000 0FFFDD80 FD000000 04040000 0FFAAF4C 0FFAAF4C 0FFFE4F4 0FFFE7B0&lt;BR /&gt;&lt;BR /&gt;Call backtrace:&lt;BR /&gt;&lt;BR /&gt;0FFD5C34 0FFD4938 0FFE2CC4 0FFDE11C 0FFE36FC 0FFE3A1C 0FFE3CA8&lt;BR /&gt;&lt;BR /&gt;0FFE4D18 0FFE4EF4 0FFD7014 0FFCFEE8 0FFCE73C&lt;BR /&gt;&lt;BR /&gt;Exception in kernel pc ffd5c34 signal 0&lt;BR /&gt;&lt;BR /&gt;Resetting the board.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There seem to be a problem with the configuration register, but I couldn't spot it.&lt;BR /&gt;Does anyone have an idea ?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 23:51:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/uboot-mpc8360-increase-flash-memory/m-p/163225#M905</guid>
      <dc:creator>fguihot</dc:creator>
      <dc:date>2009-12-22T23:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: [uboot] mpc8360 increase flash memory</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/uboot-mpc8360-increase-flash-memory/m-p/163226#M906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A colleague spotted the problem : It didn't come from the flash memory or local bus configuration, but from the MMU configuration.&lt;/P&gt;&lt;P&gt;The flash memory is accessed througth the MMU and cached. I didn't increase the cache size....&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 17:49:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/uboot-mpc8360-increase-flash-memory/m-p/163226#M906</guid>
      <dc:creator>fguihot</dc:creator>
      <dc:date>2009-12-23T17:49:03Z</dc:date>
    </item>
  </channel>
</rss>

