Working SDHOST/FatFS, boot partition mounts, some other minor fixes too.
authorkristina <kb@kbs-iMac.local>
Thu, 9 Jun 2016 09:58:25 +0000 (10:58 +0100)
committerkristina <kb@kbs-iMac.local>
Thu, 9 Jun 2016 09:58:56 +0000 (10:58 +0100)
commit6de7c928f8dbc9aa5d831cdda5d77b44a307922d
treec796a1f5a768cf4ce10ce5ac4988a3a8e90b682b
parentea80895607f422045181bf8e93323d9aa7c45df2
Working SDHOST/FatFS, boot partition mounts, some other minor fixes too.

 * Unified panic code for ARM/VC4
 * VC4 is back to using xprintf
 * Added minimal C++ runtime to stage 1.5
 * Use TLSF for heap (malloc) in stage 1.5
 * SDHOST driver kind of works, only tested with SDv1, probably works
   with SDv2 too but didn't bother testing.
 * Can read MBR and initialize FatFS for the first (boot) partition to
   later read stage 2 from it (Linux or u-boot or whatever).
 * Made driver code a bit more sane.
176 files changed:
LICENSE [changed mode: 0755->0644]
Makefile [changed mode: 0755->0644]
arm_chainloader/Makefile [changed mode: 0755->0644]
arm_chainloader/chainloader.h [changed mode: 0755->0644]
arm_chainloader/drivers/block_device.hpp [new file with mode: 0644]
arm_chainloader/drivers/cprman.cc [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/00history.txt [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/00readme.txt [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/diskio.c [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/diskio.h [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/ff.c [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/ff.h [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/ffconf.h [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/integer.h [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/option/cc932.c [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/option/cc936.c [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/option/cc949.c [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/option/cc950.c [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/option/ccsbcs.c [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/option/syscall.c [changed mode: 0755->0644]
arm_chainloader/drivers/fatfs/option/unicode.c [changed mode: 0755->0644]
arm_chainloader/drivers/mbr_disk.cc [new file with mode: 0644]
arm_chainloader/drivers/sd2.hpp [deleted file]
arm_chainloader/drivers/sd_proto.hpp [new file with mode: 0644]
arm_chainloader/drivers/sdhost.cc [deleted file]
arm_chainloader/drivers/sdhost_impl.cc [new file with mode: 0644]
arm_chainloader/drivers/uart.c [changed mode: 0755->0644]
arm_chainloader/firmware_rendezvous.c [changed mode: 0755->0644]
arm_chainloader/lib/arm_bcopy.s [new file with mode: 0644]
arm_chainloader/lib/arm_bzero.s [new file with mode: 0644]
arm_chainloader/lib/arm_locore.s [new file with mode: 0644]
arm_chainloader/linker.lds [changed mode: 0755->0644]
arm_chainloader/loader.cc [new file with mode: 0644]
arm_chainloader/main.c [changed mode: 0755->0644]
arm_chainloader/minicxx.cc [new file with mode: 0644]
arm_chainloader/start.s [changed mode: 0755->0644]
arm_loader.c [changed mode: 0755->0644]
arm_monitor.c [changed mode: 0755->0644]
bcm2708_chip/README.txt [changed mode: 0755->0644]
bcm2708_chip/apb_arbiter_control.h [changed mode: 0755->0644]
bcm2708_chip/apb_async_bridge_ctrl.h [changed mode: 0755->0644]
bcm2708_chip/arm_control.h [changed mode: 0755->0644]
bcm2708_chip/aux_io.h [changed mode: 0755->0644]
bcm2708_chip/ave_in.h [changed mode: 0755->0644]
bcm2708_chip/ave_out.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma0.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma1.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma15.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma2.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma3.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma4.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma5.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma6.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma7.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma8.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma_lite10.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma_lite11.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma_lite12.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma_lite13.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma_lite14.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma_lite7.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma_lite8.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma_lite9.h [changed mode: 0755->0644]
bcm2708_chip/axi_dma_top.h [changed mode: 0755->0644]
bcm2708_chip/axi_performance0.h [changed mode: 0755->0644]
bcm2708_chip/axi_performance1.h [changed mode: 0755->0644]
bcm2708_chip/cam0.h [changed mode: 0755->0644]
bcm2708_chip/cam0_a0.h [changed mode: 0755->0644]
bcm2708_chip/cam1.h [changed mode: 0755->0644]
bcm2708_chip/cam1_a0.h [changed mode: 0755->0644]
bcm2708_chip/camccp.h [changed mode: 0755->0644]
bcm2708_chip/ccp2tx.h [changed mode: 0755->0644]
bcm2708_chip/ccp2tx_a0.h [changed mode: 0755->0644]
bcm2708_chip/cdp.h [changed mode: 0755->0644]
bcm2708_chip/clkman_image.h [changed mode: 0755->0644]
bcm2708_chip/cpg.h [changed mode: 0755->0644]
bcm2708_chip/cpi.h [changed mode: 0755->0644]
bcm2708_chip/cpr_apb2wtap.h [changed mode: 0755->0644]
bcm2708_chip/cpr_apb2wtap_a0.h [changed mode: 0755->0644]
bcm2708_chip/cpr_clkman.h [changed mode: 0755->0644]
bcm2708_chip/cpr_clkman_a0.h [changed mode: 0755->0644]
bcm2708_chip/cpr_powman.h [changed mode: 0755->0644]
bcm2708_chip/cpr_powman_a0.h [changed mode: 0755->0644]
bcm2708_chip/cryptohw.h [changed mode: 0755->0644]
bcm2708_chip/csi2.h [changed mode: 0755->0644]
bcm2708_chip/dpi.h [changed mode: 0755->0644]
bcm2708_chip/dsi.h [changed mode: 0755->0644]
bcm2708_chip/dsi4.h [changed mode: 0755->0644]
bcm2708_chip/emmc.h [changed mode: 0755->0644]
bcm2708_chip/flow_config.tcl [changed mode: 0755->0644]
bcm2708_chip/fpga_microblaze.h [changed mode: 0755->0644]
bcm2708_chip/fpga_peripheral.h [changed mode: 0755->0644]
bcm2708_chip/gpio.h [changed mode: 0755->0644]
bcm2708_chip/h264.h [changed mode: 0755->0644]
bcm2708_chip/hardware.h [changed mode: 0755->0644]
bcm2708_chip/hdcp.h [changed mode: 0755->0644]
bcm2708_chip/hdmi.h [changed mode: 0755->0644]
bcm2708_chip/hdmicore.h [changed mode: 0755->0644]
bcm2708_chip/hvs.h [changed mode: 0755->0644]
bcm2708_chip/i2c0.h [changed mode: 0755->0644]
bcm2708_chip/i2c1.h [changed mode: 0755->0644]
bcm2708_chip/i2c2.h [changed mode: 0755->0644]
bcm2708_chip/i2c_spi_slv.h [changed mode: 0755->0644]
bcm2708_chip/intctrl0.h [changed mode: 0755->0644]
bcm2708_chip/intctrl1.h [changed mode: 0755->0644]
bcm2708_chip/isp.h [changed mode: 0755->0644]
bcm2708_chip/israel_bg_dctram.h [changed mode: 0755->0644]
bcm2708_chip/israel_bg_instr.h [changed mode: 0755->0644]
bcm2708_chip/israel_dsp_registers.h [changed mode: 0755->0644]
bcm2708_chip/jpeg_top.h [changed mode: 0755->0644]
bcm2708_chip/l2_cache_ctrl.h [changed mode: 0755->0644]
bcm2708_chip/mphi.h [changed mode: 0755->0644]
bcm2708_chip/multicore_sync.h [changed mode: 0755->0644]
bcm2708_chip/nexus_uba.h [changed mode: 0755->0644]
bcm2708_chip/otp.h [changed mode: 0755->0644]
bcm2708_chip/pcm.h [changed mode: 0755->0644]
bcm2708_chip/perfmon.h [changed mode: 0755->0644]
bcm2708_chip/peri_image_arb_ctrl.h [changed mode: 0755->0644]
bcm2708_chip/pixel_valve0.h [changed mode: 0755->0644]
bcm2708_chip/pixel_valve1.h [changed mode: 0755->0644]
bcm2708_chip/pixel_valve2.h [changed mode: 0755->0644]
bcm2708_chip/pwm.h [changed mode: 0755->0644]
bcm2708_chip/register_map.h [changed mode: 0755->0644]
bcm2708_chip/register_map_macros.h [changed mode: 0755->0644]
bcm2708_chip/rng.h [changed mode: 0755->0644]
bcm2708_chip/rng_a0.h [changed mode: 0755->0644]
bcm2708_chip/rnghw.h [changed mode: 0755->0644]
bcm2708_chip/sdc_addr_front.h [changed mode: 0755->0644]
bcm2708_chip/sdc_ctrl.h [changed mode: 0755->0644]
bcm2708_chip/sdc_dq_front.h [changed mode: 0755->0644]
bcm2708_chip/sdhost.h [changed mode: 0755->0644]
bcm2708_chip/slimbus.h [changed mode: 0755->0644]
bcm2708_chip/slimbus_a0.h [changed mode: 0755->0644]
bcm2708_chip/smi.h [changed mode: 0755->0644]
bcm2708_chip/spi_master.h [changed mode: 0755->0644]
bcm2708_chip/sv_chip_regmap.h [changed mode: 0755->0644]
bcm2708_chip/system_arbiter_ctrl.h [changed mode: 0755->0644]
bcm2708_chip/tectl.h [changed mode: 0755->0644]
bcm2708_chip/tectl_a0.h [changed mode: 0755->0644]
bcm2708_chip/tempsens.h [changed mode: 0755->0644]
bcm2708_chip/testbus.h [changed mode: 0755->0644]
bcm2708_chip/thread_ctrl.h [changed mode: 0755->0644]
bcm2708_chip/timer.h [changed mode: 0755->0644]
bcm2708_chip/txp.h [changed mode: 0755->0644]
bcm2708_chip/uart.h [changed mode: 0755->0644]
bcm2708_chip/usb.h [changed mode: 0755->0644]
bcm2708_chip/v3d.h [changed mode: 0755->0644]
bcm2708_chip/vcodec.h [changed mode: 0755->0644]
bcm2708_chip/vec.h [changed mode: 0755->0644]
bcm2708_chip/vpu_arb_ctrl.h [changed mode: 0755->0644]
bcm2708_chip/vpu_l1_cache_ctrl.h [changed mode: 0755->0644]
chainloader_inc.s [changed mode: 0755->0644]
ghetto.s [changed mode: 0755->0644]
hardware.h [changed mode: 0755->0644]
hardware_vc4.h [changed mode: 0755->0644]
lib/common.h [deleted file]
lib/memcpy.c [changed mode: 0755->0644]
lib/panic.c [new file with mode: 0644]
lib/panic.h [new file with mode: 0644]
lib/stdarg.h [changed mode: 0755->0644]
lib/tlsf/target.h [new file with mode: 0644]
lib/tlsf/tlsf.c [new file with mode: 0644]
lib/tlsf/tlsf.h [new file with mode: 0644]
lib/udelay.c [changed mode: 0755->0644]
lib/xprintf.c [changed mode: 0755->0644]
lib/xprintf.h [changed mode: 0755->0644]
panic.c [deleted file]
romstage.c [changed mode: 0755->0644]
sdram.c [changed mode: 0755->0644]
start.s [changed mode: 0755->0644]
trap.c [changed mode: 0755->0644]
vc4_include/common.h [changed mode: 0755->0644]
vc4_include/cpu.h [changed mode: 0755->0644]
vc4_include/exception.h [changed mode: 0755->0644]
vc4_include/hardware.h [changed mode: 0755->0644]
vc4_include/pcb.h [changed mode: 0755->0644]
This page took 0.06296 seconds and 4 git commands to generate.