Coder Social home page Coder Social logo

bl1_s5p6818's Introduction

2nd bootloader for Nexell s5pxx18 series SoC
============================================

This README contains information about Nexell s5pxx18 series Soc's
2nd bootloader source. 


What is 2nd bootloader?
----------------------

Rom Boot loads 2nd bootloader from non volatile storage to internal SRAM 
and jump to it, and 2nd bootloader does cpu initialization and set up,
and the memory initialization. In the end, 2nd bootloader loads 3rd bootloader
(u-boot or ARM ATF so on) from non volatile storage to DRAM and jump to it.


Description of Important files
------------------------------

StartUp Entry
 - Rom Boot jump to here
File Path : src/startup_arch{XX}.S

C Main Code File
 - after stack set up, Assem code jump to BootMain entry 
File Path : src/secondboot.c

Power Manager IC 
 - PMIC Control code for ARM & DDR Voltage
File Path : src/pmic.c

DDR3 Memory Init
 - DDR3 Memory Initialize Code.
File Path : src/init_DDR3.c

LPDDR3 Memory Init
 - LPDDR3 Memory Initialize Code.
File Path : src/init_LPDDR3.c

Config File
 - Global Defines and compiler setting
File Path : config.mak


Source Tree
-----------
.
├── src
├── prototype
├── ┐── base
│   ┗── module
├── nsih-generator
└── refernce-nsih
 
    
How to build
------------

Get Toolchain
  # wget https://releases.linaro.org/14.04/components/toolchain/binaries/gcc-linaro-aarch64-none-elf-4.8-2014.04_linux.tar.bz2
  # tar xvjf gcc-linaro-aarch64-none-elf-4.8-2014.04_linux.tar.bz2
  # export PATH={gcc-linaro-path}/bin:$PATH

Fix config.mak
 - select OPMODE
 - select BOARD
 - set CROSS_TOOL_TOP: {gcc-linaro-aarch64-path}/bin

Build
   # make

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.