linux - Das u-boot customization for MPC8569E based board -


i beginner in embedded systems , need here. have board freescale mpc8569e processor. have been using 256mb flash till now, 2 flash chips. memory map follows:
f000_0000 - f7ff_ffff (128mb)
f800_0000 - ffff_ffff (128mb)
want use 512mb of flash, using 2 256mb flash chips each, memory map being:
e000_0000 - efff_ffff (flash 1)
f000_0000 - ffff_ffff (flash 2)

from understand reading modifying u-boot one's custom board, first
1. have modify law configuraiton. add following in board/freescale/mpc8569mds/law.c
set_law(config_sys_flash_base, law_size_512m, law_trgt_if_lbc),
flash chip on local bus.
have set macro config_sys_flash_base 0xe000_0000 in include/configs/mpc8569mds.h
2. need configure chipselects flash

#define config_flash_br_prelim 0xf0001011
#define config_flash_or_prelim 0xf0006ff7
cs0 and
#define config_sys_br1_prelim 0xe0001011
#define config_sys_or1_prelim 0xf0006ff7

i have read cs0 should contain chipselect of flash containing boot-code/u-boot, have configured cs0 second flash (base-address 0xf000_0000)

  1. i configured tlbs follows:

set_tlb_entry(1, config_sys_flash_base2, config_sys_flash_base2,mas3_sx|mas3_sw|mas3_sr, mas2_i|mas2_g,0, 0, booke_pagesz_256m, 1),

and

set_tlb_entry(1, config_sys_flash_base, config_sys_flash_base,mas3_sx|mas3_sw|mas3_sr, mas2_i|mas2_g, 0, 1, booke_pagesz_256m, 1)

so have configured law, configured chip-selects, configured tlbs console output continous line of special chars ������������ , nothing else !!! doing wrong?

i have attached snapshots of tlb1, law , chip-selects board, observed after running uboot , using icd (lauterbach) pause boot process after few secs.
tlb

chip selects

law


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

Kivy: Swiping (Carousel & ScreenManager) -

jdbc - Not able to establish database connection in eclipse -