convert hardware loadAddress to int

This commit is contained in:
Daniel Barlow
2023-11-12 18:47:31 +00:00
parent 185117843b
commit 315907de98
10 changed files with 14 additions and 14 deletions

View File

@@ -180,7 +180,7 @@
# We put it at the 32MB mark so that tftpboot can put its rootfs
# 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 = "0x42000000";
loadAddress = lim.parseInt "0x42000000";
entryPoint = "0x42000000";
rootDevice = "ubi0:liminix";
dts = {

View File

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

View File

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

View File

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

View File

@@ -65,7 +65,7 @@
};
in {
defaultOutput = "vmroot";
loadAddress = "0x0";
loadAddress = lim.parseInt "0x0";
entryPoint = "0x0";
rootDevice = "/dev/mtdblock0";

View File

@@ -67,7 +67,7 @@
};
in {
defaultOutput = "vmroot";
loadAddress = "0x00010000";
loadAddress = lim.parseInt "0x00010000";
entryPoint = "0x00010000";
rootDevice = "/dev/mtdblock0";