Skip to content

Instantly share code, notes, and snippets.

/*
* Board: JZ-YKS (rev 1) "jz01"
*
* CPU: JZ4725B
* SDRAM: MT48LC32M16A2P-75
* NAND: K9GAG08U0M
*
* CPU datasheet quotes:
* Operating frequency 360MHz (360000000Hz) CPUSPEED, CFG_CPU_SPEED
* External oscillator 12MHz (12000000Hz) EXTCLK, CFG_EXTAL
/*
* IPL (Initial Program Loader, integrated inside CPU)
* Will load first 8k from NAND (SPL) into cache and execute it from there.
*
* SPL (Secondary Program Loader)
* Will load special U-Boot version (NUB) from NAND and execute it. This SPL
* has to fit into 8kByte. It sets up the CPU and configures the SDRAM
* controller and the NAND controller so that the special U-Boot image can be
* loaded from NAND to SDRAM.
*