Project

General

Profile

RE: GPIO toggling/chattering while performing NAND read. ยป u-boot_debug_with_SD_boot_and_NAND_boot.txt

Srinivasa Wunnimani, 04/08/2020 03:04 PM

 

U-Boot SPL 2018.01-g2659de8-dirty (Apr 02 2020 - 20:53:27)



Srini debug @ line 167 in function gpmc_init in file ../arch/arm/mach-omap2/mem-common.c





Srini debug @ line 137 in function set_gpmc_cs0 in file ../arch/arm/mach-omap2/mem-common.c


Value of base and size is 0x8000000 and 0xf



Srini debug @ line 1088 in function am33xx_spl_board_init in file ../board/cl/mitysom-335x/som.c


Critical Link AM335X Dev Kit -- NAND Page size = 2048k booting from dev 8
Trying to boot from MMC1
reading u-boot.img
reading u-boot.img


U-Boot 2018.01-g2659de8-dirty (Apr 02 2020 - 20:53:27 +0530)

CPU : AM335X-GP rev 1.0
I2C: ready
DRAM: 256 MiB



Srini debug @ line 1408 in function board_init in file ../board/cl/mitysom-335x/som.c





Srini debug @ line 167 in function gpmc_init in file ../arch/arm/mach-omap2/mem-common.c





Srini debug @ line 137 in function set_gpmc_cs0 in file ../arch/arm/mach-omap2/mem-common.c


Value of base and size is 0x8000000 and 0xf



Srini debug @ line 407 in function initr_nand in file ../common/board_r.c


Srini NAND:


Srini debug @ line 983 in function board_nand_init in file ../drivers/mtd/nand/omap_gpmc.c





Srini debug @ line 1026 in function board_nand_init in file ../drivers/mtd/nand/omap_gpmc.c





Srini debug @ line 720 in function omap_select_ecc_scheme in file ../drivers/mtd/nand/omap_gpmc.c





Srini debug @ line 4664 in function nand_scan in file ../drivers/mtd/nand/nand_base.c





Srini debug @ line 4011 in function nand_scan_ident in file ../drivers/mtd/nand/nand_base.c


256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

In: ns16550_serial
Out: ns16550_serial
Err: ns16550_serial
Net: Could not find PHY for cpsw: phy_mask 6
cpsw
Hit any key to stop autoboot: 0
=>
=>
=>
=>
=> nand read.i 0x83000000 0x280000 0x500000

NAND read: device 0 offset 0x280000, size 0x500000
5242880 bytes read: OK
=> nand read.i 0x83000000 0x280000 0x500000

NAND read: device 0 offset 0x280000, size 0x500000
5242880 bytes read: OK
=> nand read.i 0x83000000 0x280000 0x500000

NAND read: device 0 offset 0x280000, size 0x500000
5242880 bytes read: OK
=> nand read.i 0x83000000 0x280000 0x500000

NAND read: device 0 offset 0x280000, size 0x500000
5242880 bytes read: OK
=>
=>
=>
=>
=>
=> nand erase.chip

NAND erase.chip: device 0 whole chip
Skipping bad block at 0x00c80000
Skipping bad block at 0x00ca0000
Erasing at 0xffe0000 -- 100% complete.
OK
=> mmc rescan
=> fatload mmc 0 0x81000000 MLO
reading MLO
60116 bytes read in 13 ms (4.4 MiB/s)
=> fatload mmc 0 0x81080000 u-boot.img
reading u-boot.img
493768 bytes read in 48 ms (9.8 MiB/s)
=> nand write 0x81000000 0x0 0x780000

NAND write: device 0 offset 0x0, size 0x780000
7864320 bytes written: OK
=> <INTERRUPT>
=> <INTERRUPT>
=> <INTERRUPT>
=> <INTERRUPT>
=> <INTERRUPT>
=>
U-Boot SPL 2018.01-g2659de8-dirty (Apr 02 2020 - 20:53:27)



Srini debug @ line 167 in function gpmc_init in file ../arch/arm/mach-omap2/mem-common.c





Srini debug @ line 137 in function set_gpmc_cs0 in file ../arch/arm/mach-omap2/mem-common.c


Value of base and size is 0x8000000 and 0xf



Srini debug @ line 1088 in function am33xx_spl_board_init in file ../board/cl/mitysom-335x/som.c


Critical Link AM335X Dev Kit -- NAND Page size = 2048k booting from dev 5
Trying to boot from NAND



Srini debug @ line 86 in function spl_nand_load_image in file ../common/spl/spl_nand.c





Srini debug @ line 209 in function nand_init in file ../drivers/mtd/nand/am335x_spl_bch.c





Srini debug @ line 983 in function board_nand_init in file ../drivers/mtd/nand/omap_gpmc.c





Srini debug @ line 1026 in function board_nand_init in file ../drivers/mtd/nand/omap_gpmc.c





Srini debug @ line 720 in function omap_select_ecc_scheme in file ../drivers/mtd/nand/omap_gpmc.c




U-Boot 2018.01-g2659de8-dirty (Apr 02 2020 - 20:53:27 +0530)

CPU : AM335X-GP rev 1.0
I2C: ready
DRAM: 256 MiB



Srini debug @ line 1408 in function board_init in file ../board/cl/mitysom-335x/som.c





Srini debug @ line 167 in function gpmc_init in file ../arch/arm/mach-omap2/mem-common.c





Srini debug @ line 137 in function set_gpmc_cs0 in file ../arch/arm/mach-omap2/mem-common.c


Value of base and size is 0x8000000 and 0xf



Srini debug @ line 407 in function initr_nand in file ../common/board_r.c


Srini NAND:


Srini debug @ line 983 in function board_nand_init in file ../drivers/mtd/nand/omap_gpmc.c





Srini debug @ line 1026 in function board_nand_init in file ../drivers/mtd/nand/omap_gpmc.c





Srini debug @ line 720 in function omap_select_ecc_scheme in file ../drivers/mtd/nand/omap_gpmc.c





Srini debug @ line 4664 in function nand_scan in file ../drivers/mtd/nand/nand_base.c





Srini debug @ line 4011 in function nand_scan_ident in file ../drivers/mtd/nand/nand_base.c


256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

In: ns16550_serial
Out: ns16550_serial
Err: ns16550_serial
Net: Could not find PHY for cpsw: phy_mask 6
cpsw
Hit any key to stop autoboot: 0
=>
=>
=>
=> nand read.i 0x83000000 0x280000 0x500000

NAND read: device 0 offset 0x280000, size 0x500000
5242880 bytes read: OK
=> <INTERRUPT>
=>
=> <INTERRUPT>
=>


    (1-1/1)