Commit b4cce169 authored by Jonathan Currier's avatar Jonathan Currier
Browse files

WIP: AST2500/u-boot override GPU VRAM size

board/bangBMC/u-boot-vram-overrride lists the cmds given on the u-boot
cli to override the registers. This likely has to be done before host
first has power.

hoever the kernel does not boot (no console output).
I believe I have still overlooked a dts memory region some where, since
I had to move the cold fires memory.

note the install to the update-install script and the kernel install
slot. thats only important with regards to the memory address being
provided to uboot and the fact that it lets the original kernel remain
unmolested.
parent b8794df1
......@@ -12,15 +12,15 @@
#address-cells = <0x01>;
#size-cells = <0x01>;
region@98000000 {
region@94000000 {
no-map;
phandle = <0x19>;
reg = <0x98000000 0x4000000>;
reg = <0x94000000 0x4000000>;
};
framebuffer@9f000000 {
framebuffer@9c000000 {
no-map;
reg = <0x9f000000 0x1000000>;
reg = <0x9c000000 0x4000000>;
};
jpegbuffer {
......@@ -31,10 +31,10 @@
phandle = <0x0c>;
};
codefire_memory@9ef00000 {
codefire_memory@9bf00000 {
no-map;
phandle = <0x29>;
reg = <0x9ef00000 0x100000>;
reg = <0x9bf00000 0x100000>;
};
framebuffer {
......@@ -325,7 +325,7 @@
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x1f000000>;
reg = <0x80000000 0x1c000000>;
};
ahb {
......
# commands to override the vram size
// First dump the address
ast# md.l 0x1e6e2070 1
1e6e2070: f1105206 .R..
// Next or the current value with 0x0c
ast# mw.l 0x1e6e2070 0xf110520e 1
// Then dump the address again to be sure it's correct
ast# md.l 0x1e6e2070 1
1e6e2070: f110520e .R..
// This cmd is to boot an alternate kernel
ast# run altbootcmd
## Loading kernel from FIT Image at 20780000 ...
......@@ -5,7 +5,7 @@
# stdout is reserved for communicating with scp
exec 1>&2
echo "performing simple install"
flash_target=/dev/block/mtd/kernel_a
flash_target=/dev/block/mtd/kernel_b
if [ -e '/dev/block/mtd/kernel' ] ; then
echo "Refusing to install to system with old partition layout"
exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment