and entryPoint

This commit is contained in:
Daniel Barlow
2023-11-12 18:50:47 +00:00
parent 315907de98
commit abfb35a231
8 changed files with 10 additions and 10 deletions

View File

@@ -181,7 +181,7 @@
# image and DTB underneath, but maybe this is a terrible waste of
# RAM unless the kernel is able to reuse it later. Oh well
loadAddress = lim.parseInt "0x42000000";
entryPoint = "0x42000000";
entryPoint = lim.parseInt "0x42000000";
rootDevice = "ubi0:liminix";
dts = {
src = "${openwrt.src}/target/linux/mediatek/dts/mt7622-linksys-e8450-ubi.dts";

View File

@@ -104,7 +104,7 @@
hardware = {
defaultOutput = "flashimage";
loadAddress = lim.parseInt "0x80060000";
entryPoint = "0x80060000";
entryPoint = lim.parseInt "0x80060000";
flash = {
address = "0x9F060000";
size ="0xfa0000";

View File

@@ -55,8 +55,8 @@
imports = [ ../../modules/arch/mipsel.nix ];
hardware = {
defaultOutput = "flashimage";
loadAddress = lim.parseInt "0x80000000";
entryPoint = "0x80000000";
loadAddress = lim.parseInt "0x80000000";
entryPoint = lim.parseInt "0x80000000";
# Creating 5 MTD partitions on "spi0.0":
# 0x000000000000-0x000000030000 : "u-boot"

View File

@@ -63,7 +63,7 @@
hardware = {
defaultOutput = "flashimage";
loadAddress = lim.parseInt "0x80000000";
entryPoint = "0x80000000";
entryPoint = lim.parseInt "0x80000000";
flash = {
address = "0xbc050000";

View File

@@ -66,7 +66,7 @@
in {
defaultOutput = "vmroot";
loadAddress = lim.parseInt "0x0";
entryPoint = "0x0";
entryPoint = lim.parseInt "0x0";
rootDevice = "/dev/mtdblock0";
flash.eraseBlockSize = "65536"; # c.f. pkgs/mips-vm/mips-vm.sh

View File

@@ -68,7 +68,7 @@
in {
defaultOutput = "vmroot";
loadAddress = lim.parseInt "0x00010000";
entryPoint = "0x00010000";
entryPoint = lim.parseInt "0x00010000";
rootDevice = "/dev/mtdblock0";
flash.eraseBlockSize = "65536"; # c.f. pkgs/mips-vm/mips-vm.sh