rpi-open-firmware.git
3 years agovc4: fix traps, add ic source detection and dispatch, add proper handler for mbox...
Kristina [Tue, 6 Sep 2016 19:03:44 +0000 (20:03 +0100)]
vc4: fix traps, add ic source detection and dispatch, add proper handler for mbox irq that reads and clears it. arm: add a proper mailbox driver, do a mailbox call just before loader exit.

3 years agofix incorrect implementaiton of puts
Kristina [Tue, 6 Sep 2016 17:30:29 +0000 (18:30 +0100)]
fix incorrect implementaiton of puts

3 years agofix minor inconsistencies in SdhostImpl and a spelling mistake
Kristina [Tue, 6 Sep 2016 15:23:51 +0000 (16:23 +0100)]
fix minor inconsistencies in SdhostImpl and a spelling mistake

3 years agouse tabs, or at least tabwidth of 4, but preferably tabs
Kristina [Tue, 6 Sep 2016 07:02:06 +0000 (08:02 +0100)]
use tabs, or at least tabwidth of 4, but preferably tabs

3 years agofix csd2/fifo retardation
Kristina [Tue, 6 Sep 2016 06:56:01 +0000 (07:56 +0100)]
fix csd2/fifo retardation

3 years agoMerge pull request #16 from vamposdecampos/heap-align
Kristina Brooks [Wed, 31 Aug 2016 04:04:52 +0000 (05:04 +0100)]
Merge pull request #16 from vamposdecampos/heap-align

arm linker script: align _end to 32-bit boundary

3 years agoMerge pull request #15 from vamposdecampos/uniprocessor
Alyssa Rosenzweig [Tue, 30 Aug 2016 22:43:27 +0000 (15:43 -0700)]
Merge pull request #15 from vamposdecampos/uniprocessor

arm_chainloader: fix core 0 detection for single-core machines

3 years agoarm linker script: align _end to 32-bit boundary
Alex Badea [Tue, 30 Aug 2016 21:37:50 +0000 (00:37 +0300)]
arm linker script: align _end to 32-bit boundary

We initialize the memory allocator right after _end; but tlsf
requires that its start adress be pointer-size-aligned, and
chokes if it isn't:

[BRINGUP:heap_init]: Initializing heap at 0x929d with size 0x100000
init_memory_pool (): mem_pool must be aligned to a word

Fix that by rounding up the _end address in the linker script.

Signed-off-by: Alex Badea <vamposdecampos@gmail.com>
3 years agoarm_chainloader: fix core 0 detection for single-core machines
Alex Badea [Tue, 30 Aug 2016 19:31:12 +0000 (22:31 +0300)]
arm_chainloader: fix core 0 detection for single-core machines

For example, a Pi 1 seem to have a MPIDR value of 0x410fb767.
Add a check similar to Linux: test that bit 31 (multiprocessor
extensions) is set and bit 30 (uniprocessor system) is clear
before looking at the core number.

Signed-off-by: Alex Badea <vamposdecampos@gmail.com>
3 years agoRevert "fix csd2 bl size detection"
k [Sat, 27 Aug 2016 14:16:23 +0000 (15:16 +0100)]
Revert "fix csd2 bl size detection"

This reverts commit c80d0466609819ca527716b6f5c45db7ca9f5487.

3 years agofix csd2 bl size detection
k [Sat, 27 Aug 2016 14:12:51 +0000 (15:12 +0100)]
fix csd2 bl size detection

3 years agoFix merge conflict
Alyssa Rosenzweig [Thu, 25 Aug 2016 02:41:03 +0000 (19:41 -0700)]
Fix merge conflict

3 years agoA bit of cleanup
Alyssa Rosenzweig [Thu, 25 Aug 2016 02:32:13 +0000 (19:32 -0700)]
A bit of cleanup

3 years agoMailboxes -- and IRQs -- work :D
Alyssa Rosenzweig [Thu, 25 Aug 2016 02:23:08 +0000 (19:23 -0700)]
Mailboxes -- and IRQs -- work :D

3 years agoMerge pull request #6 from christinaa/bug/smp-fix
Kristina Brooks [Thu, 25 Aug 2016 02:11:32 +0000 (03:11 +0100)]
Merge pull request #6 from christinaa/bug/smp-fix

CPU select support

3 years agoUpdate README since SMP is handled now
Alyssa Rosenzweig [Thu, 25 Aug 2016 02:03:17 +0000 (19:03 -0700)]
Update README since SMP is handled now

3 years agoCore N>0 disable seems to be working correctly; documentation
Alyssa Rosenzweig [Thu, 25 Aug 2016 01:56:08 +0000 (18:56 -0700)]
Core N>0 disable seems to be working correctly; documentation

3 years agoTry a different address
Alyssa Rosenzweig [Thu, 25 Aug 2016 00:25:35 +0000 (17:25 -0700)]
Try a different address

3 years agoTentative CPU select
Alyssa Rosenzweig [Wed, 24 Aug 2016 15:27:38 +0000 (08:27 -0700)]
Tentative CPU select

3 years agodebugging
Alyssa Rosenzweig [Mon, 22 Aug 2016 03:13:44 +0000 (20:13 -0700)]
debugging

3 years agopeak
Alyssa Rosenzweig [Sat, 20 Aug 2016 03:14:01 +0000 (20:14 -0700)]
peak

3 years agoMisc changes
Alyssa Rosenzweig [Mon, 15 Aug 2016 23:00:51 +0000 (16:00 -0700)]
Misc changes

3 years agoAttempt to get mailboxes up
Alyssa Rosenzweig [Mon, 15 Aug 2016 02:35:50 +0000 (19:35 -0700)]
Attempt to get mailboxes up

3 years agoUnmask ARM interrupts
Alyssa Rosenzweig [Sun, 14 Aug 2016 19:52:14 +0000 (12:52 -0700)]
Unmask ARM interrupts

3 years agoSoftware interrupt support
Alyssa Rosenzweig [Sun, 14 Aug 2016 19:30:15 +0000 (12:30 -0700)]
Software interrupt support

3 years agoMerge branch 'build/assume-path' into develop
Alyssa Rosenzweig [Thu, 11 Aug 2016 23:28:03 +0000 (16:28 -0700)]
Merge branch 'build/assume-path' into develop

3 years agoMerge remote-tracking branch 'personal/bug/loader-missing-argument' into develop
Alyssa Rosenzweig [Thu, 11 Aug 2016 23:27:37 +0000 (16:27 -0700)]
Merge remote-tracking branch 'personal/bug/loader-missing-argument' into develop

3 years agoMissing argument
Alyssa Rosenzweig [Thu, 11 Aug 2016 23:24:32 +0000 (16:24 -0700)]
Missing argument

3 years agoNote on the path change
Alyssa Rosenzweig [Thu, 11 Aug 2016 23:23:29 +0000 (16:23 -0700)]
Note on the path change

3 years agoAssume crosscompiler path
Alyssa Rosenzweig [Thu, 11 Aug 2016 23:22:27 +0000 (16:22 -0700)]
Assume crosscompiler path

3 years agoIncluding missing argument
Alyssa Rosenzweig [Thu, 11 Aug 2016 23:21:07 +0000 (16:21 -0700)]
Including missing argument

3 years agoMerge pull request #5 from bobbybee/master
Kristina Brooks [Thu, 11 Aug 2016 15:44:08 +0000 (16:44 +0100)]
Merge pull request #5 from bobbybee/master

Update to new mnemonics (thanks Julian)

3 years agoUpdate to new mnemonics (thanks Julian)
Alyssa Rosenzweig [Thu, 11 Aug 2016 15:38:41 +0000 (08:38 -0700)]
Update to new mnemonics (thanks Julian)

3 years agoWorking SDHOST/FatFS, boot partition mounts, some other minor fixes too.
kristina [Thu, 9 Jun 2016 09:58:25 +0000 (10:58 +0100)]
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.

3 years agoUpdate README.md
Kristina Brooks [Wed, 8 Jun 2016 02:45:40 +0000 (03:45 +0100)]
Update README.md

3 years agofix include paths
kristina [Mon, 30 May 2016 13:17:46 +0000 (14:17 +0100)]
fix include paths

3 years agofix include paths
kristina [Mon, 30 May 2016 13:16:20 +0000 (14:16 +0100)]
fix include paths

3 years agoupdate makefiles
kristina [Mon, 30 May 2016 13:14:30 +0000 (14:14 +0100)]
update makefiles

3 years agoactually sleep the vpu on arm init, added more stuff to sdhost, still broken though
kristina [Mon, 30 May 2016 13:13:38 +0000 (14:13 +0100)]
actually sleep the vpu on arm init, added more stuff to sdhost, still broken though

3 years agoadded hardware exception vectors
kristina [Mon, 30 May 2016 13:11:53 +0000 (14:11 +0100)]
added hardware exception vectors

3 years agokind of fixed lpddr2 detection, added addressing modes for 512mb and 1gb lpddr2 chips...
kristina [Mon, 30 May 2016 13:10:16 +0000 (14:10 +0100)]
kind of fixed lpddr2 detection, added addressing modes for 512mb and 1gb lpddr2 chips, documented some timing related stuff

3 years agoC++ init
kristina [Sat, 21 May 2016 02:42:50 +0000 (03:42 +0100)]
C++ init

3 years agoAdded C++ ctors and partial SDHOST driver
kristina [Sat, 21 May 2016 02:22:03 +0000 (03:22 +0100)]
Added C++ ctors and partial SDHOST driver

3 years agoFix readme again (ugh git)
kristina [Tue, 17 May 2016 13:26:48 +0000 (14:26 +0100)]
Fix readme again (ugh git)

3 years agoMerge branch 'master' of https://github.com/christinaa/rpi-open-firmware
kristina [Tue, 17 May 2016 13:23:42 +0000 (14:23 +0100)]
Merge branch 'master' of https://github.com/christinaa/rpi-open-firmware

3 years agoOops
kristina [Tue, 17 May 2016 13:22:51 +0000 (14:22 +0100)]
Oops

3 years agoUpdate README.md
Kristina Brooks [Mon, 16 May 2016 03:08:38 +0000 (04:08 +0100)]
Update README.md

3 years agoAdded some stuff to README.
Kristina Brooks [Mon, 16 May 2016 02:09:27 +0000 (03:09 +0100)]
Added some stuff to README.

3 years agoInitial commit
kristina [Mon, 16 May 2016 02:01:46 +0000 (03:01 +0100)]
Initial commit

This page took 0.042687 seconds and 4 git commands to generate.