Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openwrt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Freifunk Luebeck
openwrt
Commits
d2a7df07
Commit
d2a7df07
authored
8 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
octeon: use new ext4/f2fs overlay support
Signed-off-by:
Felix Fietkau
<
nbd@nbd.name
>
parent
08cf4612
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/image-commands.mk
+4
-0
4 additions, 0 deletions
include/image-commands.mk
target/linux/octeon/image/Makefile
+3
-4
3 additions, 4 deletions
target/linux/octeon/image/Makefile
with
7 additions
and
4 deletions
include/image-commands.mk
+
4
−
0
View file @
d2a7df07
...
...
@@ -130,6 +130,10 @@ define Build/pad-to
mv
$@.new
$@
endef
define
Build/pad-extra
dd
if
=
/dev/zero
bs
=
$(
1
)
count
=
1
>>
$@
endef
define
Build/pad-rootfs
$(STAGING_DIR_HOST)/bin/padjffs2
$@
$(1)
\
$(if $(BLOCKSIZE),$(BLOCKSIZE
:
%k=%)
,
4 8 16 64 128 256)
...
...
This diff is collapsed.
Click to expand it.
target/linux/octeon/image/Makefile
+
3
−
4
View file @
d2a7df07
...
...
@@ -13,9 +13,8 @@ define Device/Default
KERNEL_INITRAMFS_NAME
:=
vmlinux-initramfs.elf
KERNEL
:=
kernel-bin | strip-kernel | patch-cmdline
IMAGES
:=
sysupgrade.tar
IMAGE/sysupgrade.tar/squashfs
:
= append-rootfs | pad-
rootfs
| sysupgrade-tar rootfs=$$$$@
IMAGE/sysupgrade.tar/squashfs
:
= append-rootfs | pad-
extra 128k
| sysupgrade-tar rootfs=$$$$@
IMAGE/sysupgrade.tar
:
= sysupgrade-tar
FILESYSTEMS
:=
squashfs
endef
define
Build/strip-kernel
...
...
@@ -29,14 +28,14 @@ define Device/generic
endef
TARGET_DEVICES
+=
generic
ER_CMDLINE
:=
-mtdparts
=
phys_mapped_flash:640k
(
boot0
)
ro,640k
(
boot1
)
ro,64k
(
eeprom
)
ro
block2mtd.block2mtd
=
/dev/mmcblk0p2,65536,rootfs,15
root
=
/dev/mtdblock3
rootfstype
=
squashfs rootwait
ER_CMDLINE
:=
-mtdparts
=
phys_mapped_flash:640k
(
boot0
)
ro,640k
(
boot1
)
ro,64k
(
eeprom
)
ro
root
=
/dev/mmcblk0p2
rootfstype
=
squashfs
,ext4
rootwait
define
Device/er
CMDLINE
:=
$(
ER_CMDLINE
)
DEVICE_TITLE
:=
Ubiquiti EdgeRouter
endef
TARGET_DEVICES
+=
er
ERLITE_CMDLINE
:=
-mtdparts
=
phys_mapped_flash:512k
(
boot0
)
,512k
(
boot1
)
,64k@1024k
(
eeprom
)
block2mtd.block2mtd
=
/dev/sda2,65536,rootfs,5
root
=
/dev/mtdblock3
rootfstype
=
squashfs rootwait
ERLITE_CMDLINE
:=
-mtdparts
=
phys_mapped_flash:512k
(
boot0
)
,512k
(
boot1
)
,64k@1024k
(
eeprom
)
root
=
/dev/sda2
rootfstype
=
squashfs
,ext4
rootwait
define
Device/erlite
CMDLINE
:=
$(
ERLITE_CMDLINE
)
DEVICE_TITLE
:=
Ubiquiti EdgeRouter Lite
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment